fixes #440
This commit is contained in:
parent
ce5a1365c2
commit
46e564f9ee
2 changed files with 13 additions and 10 deletions
|
|
@ -47,6 +47,7 @@ proc parseDefine(p: var TParser): PNode =
|
||||||
var params = newNodeP(nkFormalParams, p)
|
var params = newNodeP(nkFormalParams, p)
|
||||||
# return type; not known yet:
|
# return type; not known yet:
|
||||||
addSon(params, ast.emptyNode)
|
addSon(params, ast.emptyNode)
|
||||||
|
if p.tok.xkind != pxParRi:
|
||||||
var identDefs = newNodeP(nkIdentDefs, p)
|
var identDefs = newNodeP(nkIdentDefs, p)
|
||||||
while p.tok.xkind != pxParRi:
|
while p.tok.xkind != pxParRi:
|
||||||
addSon(identDefs, skipIdent(p))
|
addSon(identDefs, skipIdent(p))
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,8 @@ extern "C" {
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define interrupts() sei()
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
/* 8bit, color or not */
|
/* 8bit, color or not */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue