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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Error and Warning Messages(314) ; expected (Parser)A semicolon is missing from a statement. A close brace or keyword was found following a statementwith no terminating semicolon, e.g.:while(a) {b = a-- /* woops -- where is the semicolon? */} /* error is flagged here */Note: Omitting a semicolon from statements not preceeding a close brace or keyword typicallyresults in some other error being issed for the following code which the parser assums to be part ofthe original statement.(315) { expected (Parser)An opening brace was expected here. This error may be the result of a function definition missingthe opening brace, e.g.:void process(char c) /* woops -- no opening brace after the prototype */return max(c, 10) * 2; /* error flagged here */}(316) } expected (Parser)A closing brace was expected here. This error may be the result of a initialized array missing theclosing brace, e.g.:char carray[4] = { 1, 2, 3, 4; /* woops -- no closing brace */(317) ( expected (Parser)An opening parenthesis, (, was expected here. This must be the first token after a while, for, if,do or asm keyword, e.g.:if a == b /* should be: if(a == b) */b = 0;(318) string expected (Parser)The operand to an asm statement must be a string enclosed in parentheses, e.g.:asm(nop);/* that should be asm(“nop”);264

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

Saved successfully!

Ooh no, something went wrong!