implemented extended quoting rules
This commit is contained in:
parent
0bcdab8395
commit
6c5693e633
11 changed files with 317 additions and 415 deletions
|
|
@ -113,9 +113,8 @@ proc parLineInfo(p: TParser): TLineInfo =
|
|||
result = getLineInfo(p.lex^)
|
||||
|
||||
proc indAndComment(p: var TParser, n: PNode) =
|
||||
var info: TLineInfo
|
||||
if p.tok.tokType == tkInd:
|
||||
info = parLineInfo(p)
|
||||
var info = parLineInfo(p)
|
||||
getTok(p)
|
||||
if p.tok.tokType == tkComment: skipComment(p, n)
|
||||
else: liMessage(info, errInvalidIndentation)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue