examples: clean up the Java/D examples

* examples/java/Calc.y: Fix indentation.
Sort.
Don't use %name-prefix, since api.parser.class is already defined.
* examples/d/calc.y: Likewise.
This commit is contained in:
Akim Demaille
2019-01-02 13:08:47 +01:00
parent 9f81497a0c
commit 9ec93d4e34
2 changed files with 13 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
%language "D"
%name-prefix "Calc"
%define api.parser.class {Calc}
%define public