Clone
Andrew Dinn
committed
on 15 Dec 08
Fixed problem where defaulting of location type (AT ENTRY) caused null pointer exception
Fixed bug in type helper which was stopping method … Show more
Fixed problem where defaulting of location type (AT ENTRY) caused null pointer exception

Fixed bug in type helper which was stopping method names with empty

signatures (e.g. get() or foo.get()) being recognised.

Corrected problem in tokenizer/parser where terms like $0.foo() where

not being recognised because the characters 0. were being tokenised as

a float. Tokenizer now identifies $<integer_literal> or $<identifier>

as a single token rather than applying $ as a unary prefix operator to

the next term.

Added option to switch on debug trace in CUP parser by setting System

property org.jboss.jbossts.orchestration.rule.debug. To make this work

properly this required:

Modified parser to use class PrintableSymbol` instead of Symbol.

Provided an implementation of PrintableSymbol which prints the symbol

name and associated value rather than just a numeric idx.

Specialised parser debug print routines called by debug_parse so that

they stop printing symbol numeric idxs and rely on the toString method

to print the symbol.

Show less

master + 9 more