编译出错,问题请教。

2020-02-09 11:24发布

按照书中的代码书写,并编译,出现以下错误。请知道的朋友帮我解释一下是什么导致的?
----------------------------------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:Program FilesMicrochipMPLAB C30inpic30-gcc.exe" -mcpu=30F2010 -x c -c   "2010.c" -o"2010.o" -D__DEBUG -g -Wall
2010.c: In function '_PWMInterrupt':
2010.c:28: warning: implicit declaration of function 'sintable'
2010.c:17: warning:  PSV model not specified for '_PWMInterrupt';
   assuming 'auto_psv' this may affect latency
2010.c: In function 'main':
2010.c:109: error: syntax error before numeric constant
2010.c:109: error: syntax error before ')' token
2010.c: At top level:
2010.c:125: error: syntax error before 'while'
Halting build on first failure as requested.
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。