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: 6965 Reporter: joe Assigned to:@gasche Status: closed (set by @diml on 2016-12-07T17:25:07Z) Resolution: duplicate Priority: normal Severity: minor Version: 4.02.3 Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Bug description
The quoted string extension doesn't appear to work with the camlp4o preprocessor. For example, the program:
$ cat junk.ml
let _ = {|Hello World!|}
compiles normally
$ ocamlc junk.ml
However, if we use the camlp4o preprocessor, it fails
$ ocamlc -pp "camlp4o" junk.ml
File "junk.ml", line 1, characters 6-7:
Parse error: [expr] expected after "=" (in [cvalue_binding])
File "junk.ml", line 1:
Error: Error while running external preprocessor
Command line: camlp4o 'junk.ml' > /tmp/ocamlpp2e9797
This also occurs when using camlp4o on the toplevel:
{|Hello World!|};;
Error: Parse error: illegal begin of top_phrase
The text was updated successfully, but these errors were encountered:
Original bug ID: 6965
Reporter: joe
Assigned to: @gasche
Status: closed (set by @diml on 2016-12-07T17:25:07Z)
Resolution: duplicate
Priority: normal
Severity: minor
Version: 4.02.3
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Bug description
The quoted string extension doesn't appear to work with the camlp4o preprocessor. For example, the program:
$ cat junk.ml
let _ = {|Hello World!|}
compiles normally
$ ocamlc junk.ml
However, if we use the camlp4o preprocessor, it fails
$ ocamlc -pp "camlp4o" junk.ml
File "junk.ml", line 1, characters 6-7:
Parse error: [expr] expected after "=" (in [cvalue_binding])
File "junk.ml", line 1:
Error: Error while running external preprocessor
Command line: camlp4o 'junk.ml' > /tmp/ocamlpp2e9797
This also occurs when using camlp4o on the toplevel:
{|Hello World!|};;
Error: Parse error: illegal begin of top_phrase
The text was updated successfully, but these errors were encountered: