Versions Compared

Key

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

...

  • For those that override BaseRecognizer.match(). I had turned off single token insertion and deletion because I could not figure out how to work with trees and actions. Figured that out and so I turned it back on. match() returns the Object matched now (parser, tree parser) so we can set labels on token refs properly after single token ins/del error recovery. Allows actions and tree construction to proceed normally even though we recover in the middle of an alternative. Added methods for conjuring up missing symbols: getMissingSymbol(). Recover methods etc... also return an Object now.
  • public Object dupTree(Object tree) moved to BaseTreeAdaptor from BaseTree.