Retoor software development Projects Research SearchXNG
Register Sign In

1 line
28 B
Plaintext
Raw Normal View History

fix: allow files without trailing newline in block compilation The compiler previously required a TOKEN_LINE after each statement in a block, causing parse failures for files missing a final newline. Changed consume() to match() with conditional break, and added a test case for no-trailing-newline files.
2013-11-01 14:57:21 +01:00
io.write("ok") // expect: ok
Reference in New Issue Copy Permalink
dc2f053d76
wren/test/no_trailing_newline.wren
Response time: 35ms
Mail Licenses API