|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Syntax Error
Im trying to compile my code in MPLAB, but when ever it comes to user_routines_fast.c it comes with an error
After the very end of the file, the compiler goes to the next line and then calls a syntax error. And if I comment that line out, it just goes to the next line and calls another error How can i fix this? |
|
#2
|
|||
|
|||
|
Re: Syntax Error
It sounds like you're missing a closing brace somewhere. Short of seeing the code, make sure every opening brace, has a closing brace.. or that your last statement has a semicolon.
|
|
#3
|
||||
|
||||
|
Re: Syntax Error
I checked all of that yet I am still getting an error.
It looks like this-- /* Add code to handle incomming data (remember, interrupts are still active) */; } /************************************************** ****************************/ /************************************************** ****************************/ /************************************************** ****************************/ (the code ends on the line above and a syntax error is being called on this line) |
|
#4
|
|||
|
|||
|
Re: Syntax Error
you've got a semicolon that's uncommented, what happens if you remove it?
|
|
#5
|
||||
|
||||
|
Re: Syntax Error
I tried that and it still doesnt work.
|
|
#6
|
|||
|
|||
|
Re: Syntax Error
message sent.
|
|
#7
|
|||
|
|||
|
Re: Syntax Error
sizolved.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C18 v2.4 -- Syntax error where there is no syntax error | Joel J | Programming | 7 | 12-01-2007 17:27 |
| Array Syntax Error | Andrew Blair | Programming | 7 | 05-02-2006 14:11 |
| Syntax Error! | Denz | Programming | 15 | 04-02-2006 23:57 |
| Simple Syntax Error | miketwalker | Programming | 6 | 06-01-2004 00:17 |