Lex commas too in the self-hosted compiler

This commit is contained in:
Patrick Walton 2010-08-20 14:58:15 -07:00
parent fc05ea0371
commit 08f191d6d9

View file

@ -62,6 +62,7 @@ fn next_token(stdio_reader rdr) -> token.token {
// One-byte structural symbols.
alt (c) {
case (';') { ret token.SEMI(); }
case (',') { ret token.COMMA(); }
case ('.') { ret token.DOT(); }
case ('(') { ret token.LPAREN(); }
case (')') { ret token.RPAREN(); }