hg: compiler-grammar/jls8/langtools: 3 new changesets

eric.mccorkle at oracle.com eric.mccorkle at oracle.com
Mon Feb 2 14:43:59 UTC 2015


Changeset: ed89cd8985f1
Author:    emc
Date:      2015-02-02 09:42 -0500
URL:       http://hg.openjdk.java.net/compiler-grammar/jls8/langtools/rev/ed89cd8985f1

Temporary solution to generating javac errors from ANTLR errors.

! src/jdk.compiler/share/classes/com/sun/tools/javac/antlr/AntlrParserFactory.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/ParserFactory.java

Changeset: edfb8bf17489
Author:    emc
Date:      2015-02-02 09:43 -0500
URL:       http://hg.openjdk.java.net/compiler-grammar/jls8/langtools/rev/edfb8bf17489

Created tree checker

+ test/tools/javac/TreeChecker.java

Changeset: b42ebe36aad2
Author:    emc
Date:      2015-02-02 09:43 -0500
URL:       http://hg.openjdk.java.net/compiler-grammar/jls8/langtools/rev/b42ebe36aad2

Experimented with named variants for rules.  Results are promising, this could remove a lot of the buggy code in JavaTranslator.

! src/jdk.compiler/share/classes/com/sun/tools/javac/antlr/Java.g4
! src/jdk.compiler/share/classes/com/sun/tools/javac/antlr/JavaTranslator.java



More information about the compiler-grammar-dev mailing list