fixes documentation generator
This commit is contained in:
parent
05f09fafcf
commit
d330a72a45
4 changed files with 11 additions and 6 deletions
|
|
@ -1135,14 +1135,14 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
|
|||
of opcParseExprToAst:
|
||||
decodeB(rkNode)
|
||||
# c.debug[pc].line.int - countLines(regs[rb].strVal) ?
|
||||
let ast = parseString(regs[rb].node.strVal, c.debug[pc].toFilename,
|
||||
let ast = parseString(regs[rb].node.strVal, c.debug[pc].toFullPath,
|
||||
c.debug[pc].line.int)
|
||||
if sonsLen(ast) != 1:
|
||||
globalError(c.debug[pc], errExprExpected, "multiple statements")
|
||||
regs[ra].node = ast.sons[0]
|
||||
of opcParseStmtToAst:
|
||||
decodeB(rkNode)
|
||||
let ast = parseString(regs[rb].node.strVal, c.debug[pc].toFilename,
|
||||
let ast = parseString(regs[rb].node.strVal, c.debug[pc].toFullPath,
|
||||
c.debug[pc].line.int)
|
||||
regs[ra].node = ast
|
||||
of opcCallSite:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue