c2nim: added some scope operator parsing
This commit is contained in:
parent
596496f695
commit
0a851c869f
3 changed files with 44 additions and 18 deletions
|
|
@ -323,7 +323,7 @@ proc parseDir(p: var TParser): PNode =
|
|||
discard setOption(p.options, p.tok.s)
|
||||
getTok(p)
|
||||
eatNewLine(p, nil)
|
||||
of "dynlib", "header", "prefix", "suffix":
|
||||
of "dynlib", "header", "prefix", "suffix", "class":
|
||||
var key = p.tok.s
|
||||
getTok(p)
|
||||
if p.tok.xkind != pxStrLit: ExpectIdent(p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue