fixes #892
This commit is contained in:
parent
a5efe84921
commit
896c96134f
4 changed files with 20 additions and 5 deletions
|
|
@ -3,3 +3,16 @@ import mtempl5
|
|||
|
||||
echo templ()
|
||||
|
||||
#bug #892
|
||||
|
||||
proc parse_to_close(value: string, index: int, open='(', close=')'): int =
|
||||
discard
|
||||
|
||||
# Call parse_to_close
|
||||
template get_next_ident: stmt =
|
||||
discard "{something}".parse_to_close(0, open = '{', close = '}')
|
||||
|
||||
get_next_ident()
|
||||
|
||||
|
||||
#identifier expected, but found '(open|open|open)'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue