Go to Post I expect you to make mistakes and need help constantly. Just be sure each time you come to me, it's a new mistake and a different kind of help you need. This way I know you're growing. - Rich Kressly [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2007, 13:23
wingnut1705's Avatar
wingnut1705 wingnut1705 is offline
Registered User
AKA: Kevin
FRC #0453 (Gears)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Michigan
Posts: 53
wingnut1705 is an unknown quantity at this point
Send a message via AIM to wingnut1705
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   Spotlight this post!  
Unread 03-02-2007, 13:39
sparkydp sparkydp is offline
Registered User
AKA: David Page
FRC #0435 (Robodogs)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2002
Location: Raleigh, NC
Posts: 32
sparkydp is on a distinguished road
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   Spotlight this post!  
Unread 03-02-2007, 13:45
wingnut1705's Avatar
wingnut1705 wingnut1705 is offline
Registered User
AKA: Kevin
FRC #0453 (Gears)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Michigan
Posts: 53
wingnut1705 is an unknown quantity at this point
Send a message via AIM to wingnut1705
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   Spotlight this post!  
Unread 03-02-2007, 13:46
sparkydp sparkydp is offline
Registered User
AKA: David Page
FRC #0435 (Robodogs)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2002
Location: Raleigh, NC
Posts: 32
sparkydp is on a distinguished road
Re: Syntax Error

you've got a semicolon that's uncommented, what happens if you remove it?
  #5   Spotlight this post!  
Unread 03-02-2007, 13:48
wingnut1705's Avatar
wingnut1705 wingnut1705 is offline
Registered User
AKA: Kevin
FRC #0453 (Gears)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Michigan
Posts: 53
wingnut1705 is an unknown quantity at this point
Send a message via AIM to wingnut1705
Re: Syntax Error

I tried that and it still doesnt work.
  #6   Spotlight this post!  
Unread 03-02-2007, 13:54
sparkydp sparkydp is offline
Registered User
AKA: David Page
FRC #0435 (Robodogs)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2002
Location: Raleigh, NC
Posts: 32
sparkydp is on a distinguished road
Re: Syntax Error

message sent.
  #7   Spotlight this post!  
Unread 03-02-2007, 15:39
sparkydp sparkydp is offline
Registered User
AKA: David Page
FRC #0435 (Robodogs)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2002
Location: Raleigh, NC
Posts: 32
sparkydp is on a distinguished road
Re: Syntax Error

sizolved.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 10:43.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi