mirror of
https://github.com/cincheo/jsweet.git
synced 2025-12-14 14:59:21 +00:00
candy-generator: Update jflex, jcup dependencies
Update generated parser code. Clarify Licenses in pom.
This commit is contained in:
parent
050a28476c
commit
7e6e599030
@ -18,7 +18,7 @@
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>edu.princeton.cup</groupId>
|
||||
<groupId>com.github.vbmacher</groupId>
|
||||
<artifactId>java-cup</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@ -100,7 +100,7 @@ public class GenerateParser {
|
||||
|
||||
File typescriptDefScannerBackup = new File(typescriptDefScanner.toString() + "~");
|
||||
|
||||
JFlex.Main.main(new String[] {typescriptDefLex.toString()});
|
||||
jflex.Main.main(new String[] {typescriptDefLex.toString()});
|
||||
Files.deleteIfExists(typescriptDefScannerBackup.toPath());
|
||||
|
||||
// Remove date from "The following code was generated ..."
|
||||
|
||||
@ -206,10 +206,6 @@
|
||||
<artifactId>jsap</artifactId>
|
||||
<version>2.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>edu.princeton.cup</groupId>
|
||||
<artifactId>java-cup</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>de.jflex</groupId>
|
||||
<artifactId>jflex</artifactId>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
|
||||
//----------------------------------------------------
|
||||
// The following code was generated by CUP v0.10k
|
||||
// The following code was generated by CUP v0.11b 20160615 (GIT 4ac7450)
|
||||
//----------------------------------------------------
|
||||
|
||||
package org.jsweet.input.typescriptdef.parser;
|
||||
@ -83,5 +83,82 @@ public class sym {
|
||||
public static final int IMPLIES = 35;
|
||||
public static final int STATIC = 65;
|
||||
public static final int EQUALS = 20;
|
||||
public static final String[] terminalNames = new String[] {
|
||||
"EOF",
|
||||
"error",
|
||||
"COL",
|
||||
"COMMA",
|
||||
"DOT",
|
||||
"DOTDOT",
|
||||
"DOTDOTDOT",
|
||||
"SEMI",
|
||||
"LPAREN",
|
||||
"RPAREN",
|
||||
"LCPAREN",
|
||||
"RCPAREN",
|
||||
"LSPAREN",
|
||||
"RSPAREN",
|
||||
"SQUARE",
|
||||
"LT",
|
||||
"LTE",
|
||||
"GTE",
|
||||
"GT",
|
||||
"ASSIGN",
|
||||
"EQUALS",
|
||||
"NOTEQUALS",
|
||||
"MULT",
|
||||
"DIV",
|
||||
"MINUS",
|
||||
"MINUSMINUS",
|
||||
"PLUS",
|
||||
"PLUSPLUS",
|
||||
"DOC",
|
||||
"REFERENCE",
|
||||
"OROR",
|
||||
"ANDAND",
|
||||
"AND",
|
||||
"NOT",
|
||||
"TUBE",
|
||||
"IMPLIES",
|
||||
"MATCHES",
|
||||
"AT",
|
||||
"ARROW_RIGHT",
|
||||
"INT",
|
||||
"NUM",
|
||||
"TRUE",
|
||||
"FALSE",
|
||||
"IDENTIFIER",
|
||||
"QUESTION",
|
||||
"DOLLAR",
|
||||
"IMPORT",
|
||||
"EXPORT",
|
||||
"FUNCTION",
|
||||
"PRIVATE",
|
||||
"PROTECTED",
|
||||
"PUBLIC",
|
||||
"ABSTRACT",
|
||||
"DECLARE",
|
||||
"DECLARE_MODULE",
|
||||
"DECLARE_FUNCTION",
|
||||
"DECLARE_CLASS",
|
||||
"DECLARE_ENUM",
|
||||
"TYPE_MACRO",
|
||||
"INTERFACE",
|
||||
"CLASS",
|
||||
"VAR",
|
||||
"EXTENDS",
|
||||
"IMPLEMENTS",
|
||||
"NEW",
|
||||
"STATIC",
|
||||
"TYPEOF",
|
||||
"CONST",
|
||||
"IS",
|
||||
"AS",
|
||||
"FROM",
|
||||
"ENUM",
|
||||
"LF",
|
||||
"LPAREN_FUNC",
|
||||
"RPAREN_FUNC"
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
8
pom.xml
8
pom.xml
@ -131,14 +131,16 @@
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>edu.princeton.cup</groupId>
|
||||
<!-- License (non-viral Open Source): http://www2.cs.tum.edu/projects/cup/licence.php -->
|
||||
<groupId>com.github.vbmacher</groupId>
|
||||
<artifactId>java-cup</artifactId>
|
||||
<version>10k</version>
|
||||
<version>11b-20160615-2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<!-- License (3-clause-BSD-style): https://github.com/jflex-de/jflex/blob/master/LICENSE.md -->
|
||||
<groupId>de.jflex</groupId>
|
||||
<artifactId>jflex</artifactId>
|
||||
<version>1.3.5</version>
|
||||
<version>1.9.1</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user