Skip to content
Browse files

[fix] syntax,js-like: forces separation of top-level declaration

  • Loading branch information...
1 parent e7136a0 commit d8c3e8134156b6656f0a1e40430059bf8bb60f4f @OpaOnWindowsNow OpaOnWindowsNow committed Dec 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 opalang/js_syntax/opa_parser.trx
View
2 opalang/js_syntax/opa_parser.trx
@@ -70,7 +70,7 @@ init <- _succeed {{ Parser_utils.filename := _filename }}
{6 Declarations}
*)
-declarations <- spacing (=list0(declaration,semic?)):l semic? spacing
+declarations <- spacing (=list0(declaration,separator)):l separator spacing
{{ List.flatten l }}
/** Declaration **/

0 comments on commit d8c3e81

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