Skip to content

Commit 09c5599

Browse files
authored
Fixes for #3827, #3826 (#3829)
1 parent 69fee3a commit 09c5599

File tree

9 files changed

+123
-5
lines changed

9 files changed

+123
-5
lines changed

asm/nasm/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
<configuration>
4040
<verbose>false</verbose>
4141
<showTree>false</showTree>
42-
<entryPoint>compilationUnit</entryPoint>
43-
<grammarName>NASM</grammarName>
42+
<entryPoint>program</entryPoint>
43+
<grammarName>nasm_x86_64_</grammarName>
4444
<exampleFiles>examples/</exampleFiles>
4545
</configuration>
4646
<executions>

cpp/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<version>1.0-SNAPSHOT</version>
1010
</parent>
1111
<build>
12+
<sourceDirectory>Java</sourceDirectory>
1213
<plugins>
1314
<plugin>
1415
<groupId>org.antlr</groupId>

lua/examples/3311.lua.errors

Whitespace-only changes.

lua/examples/lua-5.4.6-tests/literals.lua.errors

Whitespace-only changes.

lua/pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<version>1.0-SNAPSHOT</version>
1111
</parent>
1212
<build>
13+
<sourceDirectory>Java</sourceDirectory>
1314
<plugins>
1415
<plugin>
1516
<groupId>org.antlr</groupId>
@@ -18,7 +19,8 @@
1819
<configuration>
1920
<sourceDirectory>${basedir}</sourceDirectory>
2021
<includes>
21-
<include>Lua.g4</include>
22+
<include>LuaLexer.g4</include>
23+
<include>LuaParser.g4</include>
2224
</includes>
2325
<visitor>true</visitor>
2426
<listener>true</listener>

python/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<module>python</module>
1616
<module>python2</module>
1717
<module>python3</module>
18-
<module>tiny-python</module>
18+
<module>python2_7_18</module>
19+
<module>python3_12_0</module>
1920
</modules>
2021
</project>

python/python2_7_18/pom.xml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<artifactId>Python2</artifactId>
4+
<packaging>jar</packaging>
5+
<name>Python2 grammar</name>
6+
<parent>
7+
<groupId>org.antlr.grammars</groupId>
8+
<artifactId>pythonparent</artifactId>
9+
<version>1.0-SNAPSHOT</version>
10+
</parent>
11+
<build>
12+
<sourceDirectory>Java</sourceDirectory>
13+
<plugins>
14+
<plugin>
15+
<groupId>org.antlr</groupId>
16+
<artifactId>antlr4-maven-plugin</artifactId>
17+
<version>${antlr.version}</version>
18+
<configuration>
19+
<sourceDirectory>${basedir}</sourceDirectory>
20+
<includes>
21+
<include>PythonLexer.g4</include>
22+
<include>PythonParser.g4</include>
23+
</includes>
24+
<visitor>true</visitor>
25+
<listener>true</listener>
26+
</configuration>
27+
<executions>
28+
<execution>
29+
<goals>
30+
<goal>antlr4</goal>
31+
</goals>
32+
</execution>
33+
</executions>
34+
</plugin>
35+
<plugin>
36+
<groupId>com.khubla.antlr</groupId>
37+
<artifactId>antlr4test-maven-plugin</artifactId>
38+
<version>${antlr4test-maven-plugin.version}</version>
39+
<configuration>
40+
<verbose>false</verbose>
41+
<showTree>false</showTree>
42+
<entryPoint>file_input</entryPoint>
43+
<grammarName>Python</grammarName>
44+
<packageName></packageName>
45+
<exampleFiles>examples/</exampleFiles>
46+
</configuration>
47+
<executions>
48+
<execution>
49+
<goals>
50+
<goal>test</goal>
51+
</goals>
52+
</execution>
53+
</executions>
54+
</plugin>
55+
</plugins>
56+
</build>
57+
</project>

python/python3_12_0/pom.xml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<artifactId>Python3</artifactId>
4+
<packaging>jar</packaging>
5+
<name>Python3 grammar</name>
6+
<parent>
7+
<groupId>org.antlr.grammars</groupId>
8+
<artifactId>pythonparent</artifactId>
9+
<version>1.0-SNAPSHOT</version>
10+
</parent>
11+
<build>
12+
<sourceDirectory>Java</sourceDirectory>
13+
<plugins>
14+
<plugin>
15+
<groupId>org.antlr</groupId>
16+
<artifactId>antlr4-maven-plugin</artifactId>
17+
<version>${antlr.version}</version>
18+
<configuration>
19+
<sourceDirectory>${basedir}</sourceDirectory>
20+
<includes>
21+
<include>PythonLexer.g4</include>
22+
<include>PythonParser.g4</include>
23+
</includes>
24+
<visitor>true</visitor>
25+
<listener>true</listener>
26+
</configuration>
27+
<executions>
28+
<execution>
29+
<goals>
30+
<goal>antlr4</goal>
31+
</goals>
32+
</execution>
33+
</executions>
34+
</plugin>
35+
<plugin>
36+
<groupId>com.khubla.antlr</groupId>
37+
<artifactId>antlr4test-maven-plugin</artifactId>
38+
<version>${antlr4test-maven-plugin.version}</version>
39+
<configuration>
40+
<verbose>false</verbose>
41+
<showTree>false</showTree>
42+
<entryPoint>file_input</entryPoint>
43+
<grammarName>Python</grammarName>
44+
<packageName></packageName>
45+
<exampleFiles>examples/</exampleFiles>
46+
</configuration>
47+
<executions>
48+
<execution>
49+
<goals>
50+
<goal>test</goal>
51+
</goals>
52+
</execution>
53+
</executions>
54+
</plugin>
55+
</plugins>
56+
</build>
57+
</project>

wkt-crs-v1/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<configuration>
3939
<verbose>false</verbose>
4040
<showTree>false</showTree>
41-
<entryPoint>file_</entryPoint>
41+
<entryPoint>propsFile</entryPoint>
4242
<grammarName>wktcrsv1</grammarName>
4343
<packageName></packageName>
4444
<exampleFiles>examples/</exampleFiles>

0 commit comments

Comments
 (0)