2009/2/2 Adrian Thurston <[email protected]>:
> Yes you can. Just make a machine specification containing common statements 
> and then use the include feature.

Ok, I was thinking about that exactly. Also I think I should use
"fgoto" since I have the following grammar:


- From header: display_name uri header_params

- URI

- More stuff (CRLF, SP, TAB, vchar...)


So if I'm not wrong I could insert all the common stuff in a separate
file (using later "include") and create two machines:

- from_header
- uri

So when parsing a "from_header" I should use "fgoto" to parse the
internal URI. I hope this is the correct way.

Really thanks a lot.


-- 
Iñaki Baz Castillo
<[email protected]>

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

Reply via email to