Open sjoqvist opened 5 years ago
This program
HAI 1.2 VISIBLE ":"::" KTHXBYE
prints ": as expected. However,
":
HAI 1.2 VISIBLE ":::"" KTHXBYE
produces the error message test.lol:2: expected token delimiter after string literal. I would have expected it to print :".
test.lol:2: expected token delimiter after string literal
:"
It should be mentioned that VISIBLE "::" ":"" solves the problem, but I don't see why the second version would be incorrect.
VISIBLE "::" ":""
This program
prints
":
as expected. However,produces the error message
test.lol:2: expected token delimiter after string literal
. I would have expected it to print:"
.It should be mentioned that
VISIBLE "::" ":""
solves the problem, but I don't see why the second version would be incorrect.