sweirich / trellys

Automatically exported from code.google.com/p/trellys
45 stars 6 forks source link

Allow comments on lines before "module" line in .trellys files #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Any comments on lines before the "module" line cause the parser to fail.

$ echo -e "-- comment on first line\nmodule where ModuleOnSecondLine" > 
/tmp/ModuleOnSecondLine.trellys
$ trellys -t /tmp/ModuleOnSecondLine.trellys
Trellys main
Parsing File "/tmp/ModuleOnSecondLine.trellys"
/tmp/ModuleOnSecondLine.trellys:1:1:
"/tmp/ModuleOnSecondLine.trellys" (line 1, column 1):
unexpected "-"
expecting "module"

Original issue reported on code.google.com by nathan.c...@gmail.com on 5 Nov 2010 at 3:28

GoogleCodeExporter commented 9 years ago
Should be fixed in r18. 

Original comment by garrin.kimmell on 10 Nov 2010 at 9:19