[ragel-users] Re: Surpressing Mulitple Matches

Jonathan Stott jonathan.st... at gmail.com
Sat May 3 12:12:05 UTC 2008


> 
> Hi Jonathan,
> 
> I think you should consider using a scanner. Though you're not scanning
> tokens, you're scanning lines. Should multiple patterns match only one
> pattern action will be executed.
> 
> -Adrian
> 

Thanks for the suggestion.  Unfortunately real life got in the way of the little project I was coding this for, so I only just got around to actually reimplementing the machine as a scanner.  It's now all working though. :)

Regards,
Jon



More information about the ragel-users mailing list