add tfile/tline assertions for template expansion file/line
This commit is contained in:
parent
eea8d604d0
commit
2240fd3f3f
4 changed files with 31 additions and 8 deletions
|
|
@ -44,6 +44,8 @@ type
|
|||
file*, cmd*: string
|
||||
outp*: string
|
||||
line*, column*: int
|
||||
tfile*: string
|
||||
tline*, tcolumn*: int
|
||||
exitCode*: int
|
||||
msg*: string
|
||||
ccodeCheck*: string
|
||||
|
|
@ -116,6 +118,9 @@ proc parseSpec*(filename: string): TSpec =
|
|||
of "file": result.file = e.value
|
||||
of "line": discard parseInt(e.value, result.line)
|
||||
of "column": discard parseInt(e.value, result.column)
|
||||
of "tfile": result.tfile = e.value
|
||||
of "tline": discard parseInt(e.value, result.tline)
|
||||
of "tcolumn": discard parseInt(e.value, result.tcolumn)
|
||||
of "output":
|
||||
result.action = actionRun
|
||||
result.outp = e.value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue