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

@@ -52,6 +52,7 @@ MOSTLYCLEANFILES =
SUFFIXES =
TESTS = $(dist_TESTS)
check_PROGRAMS =
check_SCRIPTS =
dist_TESTS =
noinst_LIBRARIES =