Permalink
Browse files

[enhance] syntax: add `=` operator for db assignment operation ( is s…

…till working)
  • Loading branch information...
1 parent fdc8b55 commit 1fea9b03b9136517ab6646f8fa8baecb7208f406 @OpaOnWindowsNow OpaOnWindowsNow committed with BourgerieQuentin Feb 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 opalang/classic_syntax/parser_path.trx
@@ -1,5 +1,5 @@
(*
- Copyright © 2011 MLstate
+ Copyright © 2011, 2012 MLstate
This file is part of OPA.
@@ -61,7 +61,7 @@ path_update <-
{{
DBPath (pa, QmlAst.Db.Update u)
}}
- / '@'? slash_nosp path:pa Opa_lexer.larrow Opa_parser.expr:e
+ / '@'? slash_nosp path:pa (Opa_lexer.larrow|Opa_lexer.equal) Opa_parser.expr:e
{{
DBPath (pa, QmlAst.Db.Update (QmlAst.Db.UExpr e))
}}

0 comments on commit 1fea9b0

Please sign in to comment.