/*!types:re2c */ void scan(unsigned char* in) { /*!rules:re2c { return "SETUP-r1"; } <*> "a" { return "a"; } <*> . { return "."; } "b" { return "b"; } "c" { return "c"; } *//*!use:re2c "1" { return "1"; } { return "SETUP-r2"; } */ } void scan(unsigned short* in) { /*!use:re2c "2" { return "2"; } */ }