> instead of
>  > action number {
>  > ...
>  > parse(NUMBER, buff);
>  > }
> and [0-9]+ %number
> write this
> void CallParser(int type) {

Got it - thx for the suggestion.  I guess I knew that, but didn't
really want to put it into a function bc it would require passing a
pointer to a pointer for the buffp (char**) and I originally thought a
pointer to the space_left too (but instead I just made that the return
value of the function).  All in all not a bad workaround.  Thanks
again!

_______________________________________________
ragel-users mailing list
[email protected]
http://www.complang.org/mailman/listinfo/ragel-users

Reply via email to