fix(lexer): tokenise the flag separator and handle NUL and invalid UTF-8
Assisted-by: GLM 5.3
This commit is contained in:
@@ -13,6 +13,7 @@ func TestKindString(t *testing.T) {
|
||||
LParen: "(",
|
||||
LShift: "<<",
|
||||
Arrow: "->",
|
||||
Pipe: "|",
|
||||
Illegal: "ILLEGAL",
|
||||
}
|
||||
for k, want := range cases {
|
||||
|
||||
Reference in New Issue
Block a user