Skip to content

Commit

Permalink
accept string literal including comma
Browse files Browse the repository at this point in the history
  • Loading branch information
JunNishimura committed Oct 12, 2024
1 parent 8464191 commit bbaa052
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lexer/lexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ func isSpecialChar(ch byte) bool {
ch == '<' ||
ch == '>' ||
ch == '!' ||
ch == '$'
ch == '$' ||
ch == ','
}

func (l *Lexer) readNumber() string {
Expand Down

0 comments on commit bbaa052

Please sign in to comment.