This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
(executable
|
||||
(name identity_standalone)
|
||||
(libraries ppxlib))
|
||||
|
||||
(cram
|
||||
(package ppxlib)
|
||||
(deps identity_standalone.exe))
|
||||
|
|
@ -0,0 +1 @@
|
|||
let _ = Ppxlib.Driver.standalone ()
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
Keep the error output short in order to avoid different error output between
|
||||
different compiler versions in the subsequent test
|
||||
|
||||
$ export OCAML_ERROR_STYLE=short
|
||||
|
||||
Syntax errors in files parsed by ppxlib are reported correctly
|
||||
|
||||
$ cat > test.ml << EOF
|
||||
> let x = 5
|
||||
> let let
|
||||
> EOF
|
||||
$ ./identity_standalone.exe -impl test.ml
|
||||
File "test.ml", line 2, characters 4-7:
|
||||
Error: Syntax error
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue