java: add an example

* examples/java/Calc.y: New, based on test 495: "Calculator
parse.error=verbose %locations".
* examples/java/Calc.test, examples/java/local.mk: New.

* configure.ac (ENABLE_JAVA): New.
* examples/test (prog): Be ready to run Java programs.
This commit is contained in:
Akim Demaille
2018-11-30 06:39:19 +01:00
parent 3422ee7435
commit d2386a35f5
9 changed files with 242 additions and 1 deletions

View File

@@ -77,5 +77,6 @@ CLEANDIRS += %D%/*.dSYM
include %D%/calc++/local.mk
include %D%/c++/local.mk
include %D%/java/local.mk
include %D%/mfcalc/local.mk
include %D%/rpcalc/local.mk