You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4302 Reporter: hirokawa Assigned to: ertai Status: closed (set by @xavierleroy on 2010-04-29T12:26:23Z) Resolution: fixed Priority: normal Severity: minor Version: 3.10.0 Fixed in version: 3.10+dev Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues Monitored by: hirokawa
Bug description
Camlp4ListComprehension.ml fails to parse the code:
[ x | x <- []; not x; y <- [] ];;
Parse error: [item] expected after ";" (in [comprehension_or_sem_expr_for_list])
This is because test_patt_lessminus mishandles ";".
(I did not realize this bug when I submitted the file. Sorry.)
Here is a patch:
Camlp4ListComprehension.ml, line 52:
| Some (KEYWORD ("as" | "::" | ";" | "," | "_"))
| Some (KEYWORD ("as" | "::" | "," | "_"))
The text was updated successfully, but these errors were encountered:
Original bug ID: 4302
Reporter: hirokawa
Assigned to: ertai
Status: closed (set by @xavierleroy on 2010-04-29T12:26:23Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.10.0
Fixed in version: 3.10+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Monitored by: hirokawa
Bug description
Camlp4ListComprehension.ml fails to parse the code:
[ x | x <- []; not x; y <- [] ];;
Parse error: [item] expected after ";" (in [comprehension_or_sem_expr_for_list])
This is because test_patt_lessminus mishandles ";".
(I did not realize this bug when I submitted the file. Sorry.)
Here is a patch:
Camlp4ListComprehension.ml, line 52:
The text was updated successfully, but these errors were encountered: