Permalink
Browse files

[enhance] compiler, syntax: Record pattern accept field identifier (i…

…ncluding keywords)
  • Loading branch information...
1 parent 9964bf5 commit 434c0573e3bf3e2b6b10834496bc1ce330cc8245 @BourgerieQuentin BourgerieQuentin committed May 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 opalang/js_syntax/opa_parser.trx
@@ -607,7 +607,7 @@ pattern_row <- (=exact_symbol("...")) {{ () }}
pattern_field <-
(=type_maybe(
- tilda:tilda deco_ml_identifier:i (colon pattern:p {{ p }})?:p
+ tilda:tilda deco_field_identifier:i (colon pattern:p {{ p }})?:p
{{ function t ->
let ident,label = i in
let p =

0 comments on commit 434c057

Please sign in to comment.