Commits

Markus Mottl  committed 01b4b94

Made lexer-based and hand-written parser more consistent

  • Participants
  • Parent commits 215e83d

Comments (0)

Files changed (1)

File base/sexplib/lib/parser.mly

   | LPAREN rev_sexps_aux RPAREN { Type.List (List.rev $2) }
   | error { parse_failure "sexp" }
 
-sexp_comment : SEXP_COMMENT sexp { () }
+sexp_comment
+  : SEXP_COMMENT sexp { () }
+  | SEXP_COMMENT sexp_comments sexp { () }
 
 sexp_comments
   : sexp_comment { () }