0
0
Fork 0
mirror of https://github.com/ZDoom/gzdoom.git synced 2024-12-21 01:51:02 +00:00
gzdoom/tools/re2c/examples/simple.re

14 lines
222 B
ReasonML
Raw Normal View History

#define NULL ((char*) 0)
char *scan(char *p){
char *q;
#define YYCTYPE char
#define YYCURSOR p
#define YYLIMIT p
#define YYMARKER q
#define YYFILL(n)
/*!re2c
[0-9]+ {return YYCURSOR;}
[\000-\377] {return NULL;}
*/
}