Versions Compared

Key

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

...

  1. Recompile your code with next version of SSLR. If it can't be compiled, then don't hesitate to inform us about this.
  2. Check notes on release and upgrade about existence of behavioral incompatibilities (see below). If any, then you should fix them by following instructions in notes. Good coverage of your code by unit tests is highly recommended (SonarQube TM can help you to enforce this), so you will be able to perform tests to verify that it behaves exactly as before upgrade. If not, then don't hesitate to ask help.
  3. Remove uses of deprecated code by following instructions from Javadocs (SonarQube TM can help you to find such code). And don't forget to execute tests to verify that regressions were not introduced by such changes.

...

  • Source: Deprecated hamcrest matchers were removed in preference to Fest-assertions.
  • Behavioral: No difference between usual grammar rule and "recovery rule" - both will be presented in AST and so can be handled via AST visitor. Thus ParseErrorCheck in SonarQube TM plugins must be reworked, if plugin uses "recovery rule".
  • Behavioral: Modifications made in grammar do not affect lexerless parser, which was created before those modifications.
  • Behavioral: Previously was possible to execute parser with grammar, which contains references on undefined rules, but now this is forbidden.
  • Deprecation: Old ways to construct Grammars were marked as deprecated - use Builders instead.

...