diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-02-02 07:42:11 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-02-02 11:33:16 +0100 |
commit | edf495b38ec55c158bba6de6835e7b147a1dc83a (patch) | |
tree | 186443899caeadfe0763eada6a40f5ed0b3c638f /tests | |
parent | ba69beafac5f08eaa7be39cf303e3fca6dda99e7 (diff) | |
download | bison-edf495b38ec55c158bba6de6835e7b147a1dc83a.tar.gz |
java: formatting changes
* data/skeletons/java.m4, data/skeletons/lalr1.java: here.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/javapush.at | 4 | ||||
-rw-r--r-- | tests/local.at | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/javapush.at b/tests/javapush.at index 4f79c006..6d933e0b 100644 --- a/tests/javapush.at +++ b/tests/javapush.at @@ -595,7 +595,7 @@ AT_BISON_CHECK([PUSHPULLFLAG [-o Calc.java Calc.y]]) AT_JAVA_COMPILE([[Calc.java]]) # Verify that this is a push parser. AT_CHECK_JAVA_GREP([[Calc.java]], - [[.*public void push_parse_initialize().*]]) + [[.*public void push_parse_initialize ().*]]) # Capture stderr output for comparison purposes. AT_JAVA_PARSER_CHECK([Calc input], 0, [ignore-nolog], [stderr-nolog]) # Extract the "Stack Now" lines from the error output, @@ -855,7 +855,7 @@ AT_BISON_CHECK([PUSHPULLFLAG [-o Calc.java Calc.y]]) AT_JAVA_COMPILE([[Calc.java]]) # Verify that this is a push parser AT_CHECK_JAVA_GREP([[Calc.java]], - [[.*public void push_parse_initialize().*]]) + [[.*public void push_parse_initialize ().*]]) # Capture the stdout and stderr output for comparison purposes. AT_JAVA_PARSER_CHECK([Calc input], 0, [stdout-nolog], [stderr-nolog]) # 1. Check that the token locations are correct diff --git a/tests/local.at b/tests/local.at index 8fc9a1d6..20c7cd0d 100644 --- a/tests/local.at +++ b/tests/local.at @@ -845,7 +845,7 @@ m4_define([AT_JAVA_POSITION_DEFINE], public String toString () { - return Integer.toString (line) + "." + Integer.toString(token); + return Integer.toString (line) + "." + Integer.toString (token); } public int lineno () |