Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • a missing attribute definition in error template.
  • pushFollow in BaseRecognizer was incorrect; it altered cache values instead of duplicating.
  • Made a REV static variable in Tool so that we can change the rev for daily builds.
  • Labels on tokens, rules carry into synpreds now so semantic predicates work. This didn't work since labels were stripped in the synpred and they weren't defined in the generated method.
    Code Block
      a : x=A z=a {$x.text.equals($z.text)}? A
        | y=A a A A
        ;
    
  • Made \uFFFF a valid character. Token types are 32-bit clean using -1 not 0x0000FFFF as -1 so it should be okay. Label.java:
    Code Block
        public static final int MIN_CHAR_VALUE = '\u0000';
        public static final int MAX_CHAR_VALUE = '\uFFFF';
    

Incompatibilities

The runtime library names changed from antlr-runtime-3.1 (old version) to antlr-3.1.1-runtime.