What is the meaning of the "swallow" key for language rules? I searched the archives, wiki and documentation but I couldn't find a good definition. Did I miss something?
-- -Corey O'Connor
On 25/2/2006, at 7:53, Corey O'Connor wrote:
What is the meaning of the "swallow" key for language rules? I searched the archives, wiki and documentation but I couldn't find a good definition. Did I miss something?
It’s deprecated. But it is shorthand for having one sub-rule, e.g.:
{ begin = '"'; end = '"'; swallow = '\.'; }
Is the same as:
{ begin = '"'; end = '"'; patterns = ( { match = '\.'; } ); }