Page 1 of 1

Hugo xverb grammar bug

Posted: Mon Dec 31, 2012 8:22 pm
by Roody_Yogurt
Yesterday, I tracked down a bug that had resulted in some unexpected behavior over the years (but not so unexpected that I thought there was necessarily anything wrong). I finally discovered that in grammar definitions like the following:

Code: Select all

xverb "record"
*                 DoRecordOnOff
* "on"\"off"       DoRecordOnOff
only the first line was correctly being understood as xverbs.

Breaking it up into two definitions does fix the problem, so the latest version of roodylib now pre-declares all of the troublesome grammar definitions.

I thought this was fairly important news so it gets its own thread. As always, you can get the latest release (v 2.3) at:
http://roody.gerynarsabode.org/notdead/ ... _suite.zip