Commit Graph
5 Commits
Author SHA1 Message Date
mauvm 25711544cf chore: rename test case for invalid shebang to clarify its purpose 2015-01-04 19:09:33 +00:00
mauvm 6a69382275 refactor: inline unmatchedChar logic into nextToken and add shebang error test 2015-01-04 18:56:16 +00:00
mauvm 685f791fb0 fix: remove duplicate comment in unmatchedChar function in wren_compiler.c 2015-01-04 07:52:40 +00:00
mauvm f59c67cc50 test: add shebang test cases for wren scripts
Add three test files covering shebang line handling: a valid shebang with expected output, a shebang at end-of-file without newline, and a shebang on a non-first line expected to produce an error.
2015-01-03 19:53:17 +00:00
mauvm 9828fafee7 feat: ignore shebang lines starting with #! on first line in compiler lexer 2015-01-03 19:53:12 +00:00