Skip to content
Browse files

[fix] compiler, database, syntax: remove/removeAll syntax

  • Loading branch information...
1 parent 38b0c4b commit ef00b768315226f0465c600c0232b55bd3a9cdae @BourgerieQuentin BourgerieQuentin committed Apr 11, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 opalang/classic_syntax/parser_path.trx
View
8 opalang/classic_syntax/parser_path.trx
@@ -108,7 +108,7 @@ update_fields <-
function tilda -> QmlAst.Db.UFlds (default_value_in_expr_update tilda l)
}}
-update_simple <- update_incr / update_list
+update_simple <- update_list / update_incr
update_incr <-
/ (=Opa_lexer.exact_symbol("++"))
@@ -125,10 +125,10 @@ update_list <-
{{ QmlAst.Db.UAppend e }}
/ (=Opa_lexer.exact_symbol("<++")) spacing Opa_parser.expr:e
{{ QmlAst.Db.UAppendAll e }}
- / (=Opa_lexer.exact_symbol("<-")) spacing Opa_parser.expr:e
- {{ QmlAst.Db.URemove e }}
- / (=Opa_lexer.exact_symbol("<--")) spacing Opa_parser.expr:e
+ / (=Opa_lexer.exact_symbol("--")) spacing Opa_parser.expr:e
{{ QmlAst.Db.URemoveAll e }}
+ / (=Opa_lexer.exact_symbol("-")) spacing Opa_parser.expr:e
+ {{ QmlAst.Db.URemove e }}
/ (=Opa_lexer.exact_ident("pop")) {{ QmlAst.Db.UPop }}
/ (=Opa_lexer.exact_ident("shift")) {{ QmlAst.Db.UShift }}

0 comments on commit ef00b76

Please sign in to comment.
Something went wrong with that request. Please try again.