Skip to content

Commit

Permalink
commented out ambiguous grammar rule for concatop
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmonktastic committed Sep 16, 2011
1 parent 1879a3f commit 09ce5b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Eden/yacc.y
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ asgn: lvalue '=' expr { code(assign); }
{ code(inc_asgn); }
| lvalue MINUS_EQ expr %prec '='
{ code(dec_asgn); }
| lvalue '=' lvalue { code(getvalue); } SLASH_SLASH expr %prec '='
/*| lvalue '=' lvalue { code(getvalue); } SLASH_SLASH expr %prec '='
{ if ($1[1] == $3[1]) {
// l = l // expr: optimise
code(concatopt);
Expand All @@ -306,7 +306,7 @@ asgn: lvalue '=' expr { code(assign); }
code(concat);
code(assign);
}
}
}*/
| PLUS_PLUS lvalue { code(pre_inc); $$ = $2; }
| lvalue PLUS_PLUS { code(post_inc); }
| MINUS_MINUS lvalue { code(pre_dec); $$ = $2; }
Expand Down

0 comments on commit 09ce5b7

Please sign in to comment.