0
0
Fork 0
mirror of https://github.com/ZDoom/gzdoom.git synced 2025-02-25 21:33:01 +00:00
gzdoom/tools/re2c/examples/sample.re

7 lines
139 B
C++

/*!re2c
"print" {return PRINT;}
[a-z]+ {return ID;}
[0-9]+ {return DEC;}
"0x" [0-9a-f]+ {return HEX;}
[\000-\377] {return ERR;}
*/