11.07.2015 Views

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Error and Warning Messages(319) while expected (Parser)The keyword while is expected at the end of a do statement, e.g.:do {func(i++);} /* do the block while what condition is true? */if(i > 5) /* error flagged here */end();(320) : expected (Parser)A colon is missing after a case label, or after the keyword default. This often occurs when asemicolon is accidentally typed instead of a colon, e.g.:switch(input) {case 0; /* woops -- that should have been: case 0: */state = NEW;(321) label identifier expected (Parser)An identifier denoting a label must appear after goto, e.g.:if(a)goto 20; /* this is not BASIC -- a valid C label must follow a goto */(322) enum tag or { expected (Parser)After the keyword enum must come either an identifier that is or will be defined as an enum tag, oran opening brace, e.g.:enum 1, 2; /* should be, e.g.: enum {one=1, two }; */(323) struct/union tag or "{" expected (Parser)An identifier denoting a structure or union or an opening brace must follow a struct or unionkeyword, e.g.:struct int a; /* this is not how you define a structure */You might mean something like:265

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!