start of yamllexer

This commit is contained in:
rumpf_a@web.de
2010-02-21 23:44:53 +01:00
parent d913fdb280
commit 6da95ed9ca
8 changed files with 397 additions and 2 deletions

9
tests/reject/mbind4.nim Normal file
View File

@@ -0,0 +1,9 @@
# Module A
var
lastId = 0
template genId*: expr =
inc(lastId)
lastId

5
tests/reject/tinc.nim Normal file
View File

@@ -0,0 +1,5 @@
var x = 0
inc(x+1) #ERROR_MSG to var type a variable needs to be passed