Permalink
Browse files

[feature] syntax,classic: loop sugar syntax

see previous commit
  • Loading branch information...
1 parent 77b026a commit bf6288ee2d6bd77f2b3badc20db93919a15a04c4 @OpaOnWindowsNow OpaOnWindowsNow committed Dec 22, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 opalang/classic_syntax/opa_parser.trx
View
1 opalang/classic_syntax/opa_parser.trx
@@ -1034,6 +1034,7 @@ function_arguments2 <- function_arguments_nosp2
;function_arguments_dot_method_nosp = careful_deco(just_function_arguments_dot_method_nosp)
;just_function_arguments_dot_method_nosp <-
/ function_arguments_nosp2:args {{ `function_call args }}
+ / lbrace_nosp (=careful_deco(lambda)):e rbrace {{ `function_call [`expr e] }}
/ "." Opa_lexer.ml_identifier_nosp:i {{ `dot i }}
/ ".." Opa_lexer.ml_identifier_nosp:i {{ `double_dot i }}

0 comments on commit bf6288e

Please sign in to comment.