emit appropriate errors for BrokenComment and BrokenStringLiteral tokens

This commit is contained in:
Allen Webster
2021-06-30 15:50:31 -04:00
parent 1454f04265
commit 8c41bea434
2 changed files with 31 additions and 16 deletions
+2 -2
View File
@@ -5,8 +5,8 @@
//
// [x] unify string literal token kinds
// [x] simplify string literal flags (triple as a single flag)
// [ ] lexer detects broken comments
// [ ] lexer detects broken strings
// [x] lexer detects broken comments
// [x] lexer detects broken strings
// [x] tests for legal tag syntaxes
// [x] tests that ensure we don't accept labels when expecting symbols e.g. foo ":" b; foo: "(" )
// [ ] pass all tests