fixes long standing parsing issue with command syntax

This commit is contained in:
Araq 2015-03-22 01:38:01 +01:00
commit ca6906d85b
3 changed files with 39 additions and 18 deletions

View file

@ -17,3 +17,10 @@ echo(type(10).name()) # doesn't work
echo(name(type(10))) # works
echo((type(10)).name()) # works
# test that 'addr' still works
proc poo(x, y: ptr int) = discard
var someInt: int
poo(addr someInt, addr someInt)