[ts-gen] Order cancellation bug fix [Was: OrderStatus dups and skips]

Bill Pippin pippin at owlriver.net
Fri Jul 31 16:03:31 EDT 2009


Nils,

About a fix for the second point in your feedback on last week's shim:

> a few uncorrelated observations on the 20090723 release: 

...

> 2) cancel causes trouble: error looks like
> 
> Del;
> Process rule: InAction (XidA)
> Process rule: Compound (item)
> Syntax error:
> Grammar rule: Compound item
> Cursor state: match; text is:
> cancel item exit2009_0723_200359;
> --------------------------------^
> Drop: ;

For others reading the list, let me note that what your trace shows
above is an example of the error reporting from a failure during the
lexical/parse/semantic action processing phase of input object
construction.

The text "Process rule: InAction" indicates that there was a
failure during the order tick id lookup action for the order key;
most of the follow on messages are less meaningful, since they are
triggered by the first, and so can be ignored, up until the last:

> cancel item exit2009_0723_200359;
> --------------------------------^

The caret shows where the shim became confused during input, and as a
general rule, if scanning and parsing reach all the way up to the end
of the statement, the problem is likely in a table lookup, either for
the last terminal, or else a semantic action for the rule as a whole.
Ordinarily this is due to incorrect input, e.g., here it could be
caused by a mispelling of the order key exit2009_0723_200359, but in
this case the problem was an incorrect and unnecessary semantic action
that needed to be eliminated, which change is included in today's
release.

Nils, thanks for finding and reporting this bug.  To reiterate,
today's release includes a fix.  

Thanks,

Bill


More information about the ts-general mailing list