Permalink
Browse files

Fix problem with in/out statements being parsed as operators

  • Loading branch information...
1 parent 0e360cc commit a3c64f16966d3fa2b01ec229cc6c24667d3aafb0 @damelang committed Apr 19, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 compilers/js/nile-grammar.ojs
@@ -33,7 +33,8 @@ intliteral = <digit+ | "∞"> ,
realliteral = <digit+ "." digit+> ,
typename = <alphanum+> ,
processname = <alphanum+> ,
-opname = ~"--" <opsym+ | "\\"alphanum+> ,
+opname = ~"--" ~"<<" ~">>"
+ <opsym+ | "\\"alphanum+> ,
varname = <alpha digit* "'"?>
| DQUOTE <(~DQUOTE anything)+>:n DQUOTE -> n ,
null = -> null ,

0 comments on commit a3c64f1

Please sign in to comment.