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: 5846 Reporter:@protz Status: closed (set by @damiendoligez on 2015-01-13T18:36:27Z) Resolution: suspended Priority: normal Severity: minor Target version: undecided Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Bug description
jonathan@ramona:/tmp $ cat > foo.ml
let (!*) = ();;
jonathan@ramona:/tmp $ ocamlc foo.ml
jonathan@ramona:/tmp $ ocamlc -pp camlp4o foo.ml
File "foo.ml", line 1, characters 4-5:
Parse error: ")" or "module" or [patt] expected after "(" (in [patt])
File "foo.ml", line 1:
Error: Preprocessor error
jonathan@ramona:/tmp $
The text was updated successfully, but these errors were encountered:
camlp4 is a bit conservative when lexing here, I will upload a fix later
===================================
let ( !* ) = () ;;
LID "let" File "<string>", line 1, characters 0-3 BLANKS " " File "", line 1, characters 3-4 ESCAPED_IDENT "!*" File "<string>", line 1, characters 4-10 BLANKS " " File "", line 1, characters 10-11 SYMBOL "=" File "<string>", line 1, characters 11-12 BLANKS " " File "", line 1, characters 12-13 SYMBOL "(" File "<string>", line 1, characters 13-14 SYMBOL ")" File "", line 1, characters 14-15 SYMBOL ";" File "<string>", line 1, characters 15-16 EOI
let (!*) = ();; LID "let" File "<string>", line 1, characters 0-3 BLANKS " " File "", line 1, characters 3-4 SYMBOL "(" File "<string>", line 1, characters 4-5 BLANKS " " File "", line 1, characters 5-6 SYMBOL "!*" File "<string>", line 1, characters 6-8 SYMBOL ")" File "", line 1, characters 8-9 BLANKS " " File "<string>", line 1, characters 9-10 SYMBOL "=" File "", line 1, characters 10-11 BLANKS " " File "<string>", line 1, characters 11-12 SYMBOL "(" File "", line 1, characters 12-13 SYMBOL ")" File "<string>", line 1, characters 13-14 SYMBOL ";" File "", line 1, characters 14-15
`EOI
Original bug ID: 5846
Reporter: @protz
Status: closed (set by @damiendoligez on 2015-01-13T18:36:27Z)
Resolution: suspended
Priority: normal
Severity: minor
Target version: undecided
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Bug description
jonathan@ramona:/tmp $ cat > foo.ml
let (!*) = ();;
jonathan@ramona:/tmp $ ocamlc foo.ml
jonathan@ramona:/tmp $ ocamlc -pp camlp4o foo.ml
File "foo.ml", line 1, characters 4-5:
Parse error: ")" or "module" or [patt] expected after "(" (in [patt])
File "foo.ml", line 1:
Error: Preprocessor error
jonathan@ramona:/tmp $
The text was updated successfully, but these errors were encountered: