Hi,

I write some sample rules:

content = any+ -- '||';
main := content %{ System.out.println("Matched content. fpc = "  + fpc); } .
'||' . '\n'?;

For input: "abc||" action called 2 times: for each pipe char:
Matched content. fpc = 3
Matched content. fpc = 4

Is it correct behaviour? How to workaround it?

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

Reply via email to