changes to ragel, feedback requested

Jason jason2... at jasonjobe.com
Mon Mar 19 19:28:57 UTC 2007


Adrian,

I think the  benefits are worth it.

What if you defaulted to assigning cs to the first one and switch the
order of your two example statements.
...
%% write init;
int cs = (some_test)? foo_en_main_v1 : foo_en_main_v2;

This way cs is always initialized but is easily overridden by the
developer.

Also, are the declarations no longer static?

thanks,
Jason




More information about the ragel-users mailing list