Permalink
Browse files

Allow symbols starting with uppercase letters in bootstrap parser.

  • Loading branch information...
1 parent 044287c commit e3ee97c0b863431de675a57f18f105cabfb7855e @bakkdoor committed Jun 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 boot/rbx-compiler/parser/lexer.lex
@@ -49,7 +49,7 @@ case "case"
identifier @?@?({lower}|[_&*])({letter}|{digit}|{special_under})*
constant {capital}({letter}|{digit}|{special_under})*
nested_constant ({constant}::)+{constant}
-symbol_lit \'({identifier}|{operator}|:|"[]")+
+symbol_lit \'({identifier}|{operator}|{constant}|:|"[]")+
ruby_send_open {identifier}{lparen}
ruby_oper_open {operator}{lparen}
regexp_lit "/".*"/"

0 comments on commit e3ee97c

Please sign in to comment.