]> granicus.if.org Git - re2c/commitdiff
- Add new test
authorhelly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Mon, 2 Apr 2007 22:00:01 +0000 (22:00 +0000)
committerhelly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Mon, 2 Apr 2007 22:00:01 +0000 (22:00 +0000)
re2c/test/bug1682718.re [new file with mode: 0755]

diff --git a/re2c/test/bug1682718.re b/re2c/test/bug1682718.re
new file mode 100755 (executable)
index 0000000..2ef4f12
--- /dev/null
@@ -0,0 +1,13 @@
+char *scan(char *p)
+{
+/*!re2c
+        re2c:define:YYCTYPE  = "unsigned char";
+        re2c:define:YYCURSOR = p;
+        re2c:yyfill:enable   = 0;
+        re2c:yych:conversion = 1;
+        re2c:indent:top      = 1;
+        [0-9]+          {return p;}
+        [\000-\377]     {return (char*)0;}
+*/
+}
+