Add support for Reason (#3336)

This commit is contained in:
Darin Morrison
2016-12-22 18:03:18 -07:00
committed by Brandon Black
parent a4d12cc8e4
commit 7867b946b9
14 changed files with 3867 additions and 1 deletions

13
samples/C++/simple.re Normal file
View File

@@ -0,0 +1,13 @@
#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;}
*/
}