From c4bbb17239edf784ef9c24edb76eb6c7bcd63d66 Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Fri, 26 Sep 2014 22:23:54 +0100 Subject: [PATCH] Added test for bug #47. --- re2c/test/bug47_dot_escapes.D.c | 37 ++++++++++++++++++++++++++++++++ re2c/test/bug47_dot_escapes.D.re | 14 ++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 re2c/test/bug47_dot_escapes.D.c create mode 100644 re2c/test/bug47_dot_escapes.D.re diff --git a/re2c/test/bug47_dot_escapes.D.c b/re2c/test/bug47_dot_escapes.D.c new file mode 100644 index 00000000..cd179619 --- /dev/null +++ b/re2c/test/bug47_dot_escapes.D.c @@ -0,0 +1,37 @@ +/* Generated by re2c */ + +digraph re2c { + + +1 -> 19 [label="0x07"] +1 -> 13 [label="0x08"] +1 -> 9 [label="\\t"] +1 -> 7 [label="\\n"] +1 -> 11 [label="\\v"] +1 -> 17 [label="\\f"] +1 -> 15 [label="\\r"] +1 -> 5 [label="\""] +1 -> 3 [label="'"] +1 -> 21 [label="\\\\"] +1 -> 2 [label=default] +3 -> 4 +4 [label="bug47_dot_escapes.D.re:3"] +5 -> 6 +6 [label="bug47_dot_escapes.D.re:4"] +7 -> 8 +8 [label="bug47_dot_escapes.D.re:5"] +9 -> 10 +10 [label="bug47_dot_escapes.D.re:6"] +11 -> 12 +12 [label="bug47_dot_escapes.D.re:7"] +13 -> 14 +14 [label="bug47_dot_escapes.D.re:8"] +15 -> 16 +16 [label="bug47_dot_escapes.D.re:9"] +17 -> 18 +18 [label="bug47_dot_escapes.D.re:10"] +19 -> 20 +20 [label="bug47_dot_escapes.D.re:11"] +21 -> 22 +22 [label="bug47_dot_escapes.D.re:12"] +} diff --git a/re2c/test/bug47_dot_escapes.D.re b/re2c/test/bug47_dot_escapes.D.re new file mode 100644 index 00000000..da1cec2c --- /dev/null +++ b/re2c/test/bug47_dot_escapes.D.re @@ -0,0 +1,14 @@ +/*!re2c + +"'" {} +"\"" {} +"\n" {} +"\t" {} +"\v" {} +"\b" {} +"\r" {} +"\f" {} +"\a" {} +"\\" {} + +*/ \ No newline at end of file -- 2.40.0