From c0938ded1a2c46931619ab9acfb879cde3a21b48 Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Mon, 27 Jul 2015 15:33:29 +0100 Subject: [PATCH] Updated tests. Line info changed in warning messages since commit 929c87fdf3a3de5f08206a258dfabbc0a068c561: "Unified location output in warning messages. --- re2c/test/bug1454253.c | 2 +- re2c/test/bug1454253.s.c | 2 +- re2c/test/bug1454253b.s.c | 2 +- re2c/test/bug2462777.ci.c | 2 +- re2c/test/bug2462777.i.c | 2 +- re2c/test/bug46_infinite_loop.c | 4 +-- re2c/test/bug47_dot_escapes.D.c | 2 +- re2c/test/bug59_bogus_yyaccept.ci.c | 4 +-- re2c/test/bug60_redundant_yymarker.ci.c | 2 +- re2c/test/bug61.i--empty-class(match-empty).c | 16 +++++------ re2c/test/bug61.i--empty-class(match-none).c | 28 +++++++++---------- re2c/test/bug61.i.c | 16 +++++------ ...ference_full.i--empty-class(match-empty).c | 4 +-- ...fference_full.i--empty-class(match-none).c | 4 +-- re2c/test/bug61_difference_full.i.c | 4 +-- ...nce_negative.i--empty-class(match-empty).c | 4 +-- ...ence_negative.i--empty-class(match-none).c | 8 +++--- re2c/test/bug61_difference_negative.i.c | 4 +-- ...nce_positive.i--empty-class(match-empty).c | 4 +-- ...ence_positive.i--empty-class(match-none).c | 8 +++--- re2c/test/bug61_difference_positive.i.c | 4 +-- ...g61_negative.i--empty-class(match-empty).c | 4 +-- ...ug61_negative.i--empty-class(match-none).c | 4 +-- re2c/test/bug61_negative.i.c | 4 +-- ...g61_positive.i--empty-class(match-empty).c | 4 +-- ...ug61_positive.i--empty-class(match-none).c | 4 +-- re2c/test/bug61_positive.i.c | 4 +-- re2c/test/casing-flags.i--case-insensitive.c | 2 +- re2c/test/casing-flags.i--case-inverted.c | 2 +- re2c/test/casing-flags.i.c | 2 +- re2c/test/cond_error_10.c.c | 4 +-- re2c/test/cond_error_11.c.c | 4 +-- re2c/test/condition_01.c.c | 4 +-- re2c/test/condition_01a.c.c | 4 +-- re2c/test/condition_01b.c.c | 4 +-- re2c/test/condition_02.c.c | 6 ++-- re2c/test/condition_02.cg.c | 6 ++-- re2c/test/condition_03.cg.c | 6 ++-- re2c/test/condition_04.cg.c | 4 +-- re2c/test/condition_11.cg.c | 6 ++-- re2c/test/condition_13.cg.c | 6 ++-- re2c/test/config11.ei.c | 2 +- re2c/test/dot_backslash.D.c | 2 +- re2c/test/dot_conditions.Dc.c | 4 +-- re2c/test/flex-01.iF.c | 2 +- re2c/test/input12.boinput12.c.c | 2 +- re2c/test/input12.oinput12.c.c | 2 +- re2c/test/input2.c | 2 +- re2c/test/input3.c | 2 +- re2c/test/input4.--empty-class(match-empty).c | 2 +- re2c/test/input4.--empty-class(match-none).c | 2 +- re2c/test/input4.c | 2 +- re2c/test/input6.--empty-class(match-empty).c | 4 +-- re2c/test/input6.--empty-class(match-none).c | 4 +-- re2c/test/input6.c | 4 +-- re2c/test/line-01.c | 2 +- re2c/test/overflow-1.c | 2 +- re2c/test/overflow-4.c | 2 +- re2c/test/php20150211_pdo_sql_parser.ig.c | 2 +- re2c/test/php20150211_phar_path_check.ig.c | 2 +- re2c/test/range_dot.8.c | 2 +- re2c/test/range_dot.c | 2 +- re2c/test/range_dot.e.c | 2 +- re2c/test/range_dot.u.c | 2 +- re2c/test/range_dot.w.c | 2 +- re2c/test/range_dot.x.c | 2 +- re2c/test/range_empty.8.c | 4 +-- re2c/test/range_empty.c | 4 +-- re2c/test/range_empty.e.c | 4 +-- re2c/test/range_empty.u.c | 4 +-- re2c/test/range_empty.w.c | 4 +-- re2c/test/range_empty.x.c | 4 +-- re2c/test/range_full.8.c | 2 +- re2c/test/range_neg_lf.8.c | 2 +- re2c/test/range_neg_lf.c | 2 +- re2c/test/range_neg_lf.e.c | 2 +- re2c/test/range_neg_lf.u.c | 2 +- re2c/test/range_neg_lf.w.c | 2 +- re2c/test/range_neg_lf.x.c | 2 +- re2c/test/repeat-01.cgir.c | 4 +-- re2c/test/repeat-02.cgir.c | 4 +-- re2c/test/repeat-03.cgir.c | 12 ++++---- re2c/test/repeat-04.cgir.c | 4 +-- re2c/test/repeat-06.gir.c | 8 +++--- re2c/test/repeat-07.gir.c | 8 +++--- re2c/test/repeat-07_error.gir.c | 6 ++-- re2c/test/reuse_conds_default_0.cgir.c | 4 +-- re2c/test/reuse_conds_default_1.cgir.c | 2 +- re2c/test/reuse_conds_setup_0.cgir.c | 4 +-- re2c/test/reuse_conds_setup_1.cgir.c | 4 +-- re2c/test/rexx.--empty-class(match-empty).c | 2 +- re2c/test/rexx.--empty-class(match-none).c | 4 +-- re2c/test/rexx.c | 2 +- re2c/test/scanner.c | 2 +- re2c/test/scanner.fs.c | 2 +- re2c/test/scanner.s.c | 2 +- re2c/test/scanner_re2c.bi.c | 2 +- re2c/test/scanner_re2c_default.D.c | 2 +- re2c/test/scanner_re2c_default.bi.c | 2 +- re2c/test/utf32_0x10000.u.c | 2 +- re2c/test/utf8-full_range-2.8.c | 2 +- re2c/test/utf8-range_0x00_0x7f.8.c | 2 +- re2c/test/utf8-range_0x100000_0x10ffff.8.c | 2 +- re2c/test/utf8-range_0x10000_0x3ffff.8.c | 2 +- re2c/test/utf8-range_0x1000_0xffff.8.c | 2 +- re2c/test/utf8-range_0x40000_0xfffff.8.c | 2 +- re2c/test/utf8-range_0x800_0xfff.8.c | 2 +- re2c/test/utf8-range_0x80_0x7ff.8.c | 2 +- re2c/test/utf8-range_single_symbol.8.c | 2 +- re2c/test/yyaccept_missing.bci.c | 2 +- 110 files changed, 204 insertions(+), 204 deletions(-) diff --git a/re2c/test/bug1454253.c b/re2c/test/bug1454253.c index e44e5349..948c38b9 100644 --- a/re2c/test/bug1454253.c +++ b/re2c/test/bug1454253.c @@ -1,4 +1,4 @@ -re2c: warning: rule matches empty string at line 40 [-Wmatch-empty-string] +re2c: warning: line 40: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ #line 1 "bug1454253.re" #include diff --git a/re2c/test/bug1454253.s.c b/re2c/test/bug1454253.s.c index c8ef7d44..675e209a 100644 --- a/re2c/test/bug1454253.s.c +++ b/re2c/test/bug1454253.s.c @@ -1,4 +1,4 @@ -re2c: warning: rule matches empty string at line 40 [-Wmatch-empty-string] +re2c: warning: line 40: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ #line 1 "bug1454253.s.re" #include diff --git a/re2c/test/bug1454253b.s.c b/re2c/test/bug1454253b.s.c index 109ac0c0..a88578fa 100644 --- a/re2c/test/bug1454253b.s.c +++ b/re2c/test/bug1454253b.s.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [?]), better add default rule * [-Wnaked-default] +re2c: warning: line 38: naked default case (stray code units: [?]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "bug1454253b.s.re" #include diff --git a/re2c/test/bug2462777.ci.c b/re2c/test/bug2462777.ci.c index c00546e2..7378ab36 100644 --- a/re2c/test/bug2462777.ci.c +++ b/re2c/test/bug2462777.ci.c @@ -1,4 +1,4 @@ -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ { diff --git a/re2c/test/bug2462777.i.c b/re2c/test/bug2462777.i.c index cdf8d4de..dbee8fe6 100644 --- a/re2c/test/bug2462777.i.c +++ b/re2c/test/bug2462777.i.c @@ -1,4 +1,4 @@ -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ { diff --git a/re2c/test/bug46_infinite_loop.c b/re2c/test/bug46_infinite_loop.c index 72edea01..d89d4779 100644 --- a/re2c/test/bug46_infinite_loop.c +++ b/re2c/test/bug46_infinite_loop.c @@ -1,5 +1,5 @@ -re2c: warning: rule matches empty string at line 13 [-Wmatch-empty-string] -re2c: warning: rule matches empty string at line 18 [-Wmatch-empty-string] +re2c: warning: line 13: rule matches empty string [-Wmatch-empty-string] +re2c: warning: line 18: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ #line 1 "bug46_infinite_loop.re" #include diff --git a/re2c/test/bug47_dot_escapes.D.c b/re2c/test/bug47_dot_escapes.D.c index 9e466cb7..f862fcf6 100644 --- a/re2c/test/bug47_dot_escapes.D.c +++ b/re2c/test/bug47_dot_escapes.D.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-0x06][0x0E-!][#-&][(-[][0x5D-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 14: naked default case (stray code units: [0x00-0x06][0x0E-!][#-&][(-[][0x5D-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ digraph re2c { diff --git a/re2c/test/bug59_bogus_yyaccept.ci.c b/re2c/test/bug59_bogus_yyaccept.ci.c index 19861d9a..f190c4e0 100644 --- a/re2c/test/bug59_bogus_yyaccept.ci.c +++ b/re2c/test/bug59_bogus_yyaccept.ci.c @@ -1,5 +1,5 @@ -re2c: warning: naked default case (stray code units: [0x00-a][c-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-`][b-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 10: naked default case (stray code units: [0x00-a][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 10: naked default case (stray code units: [0x00-`][b-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ { diff --git a/re2c/test/bug60_redundant_yymarker.ci.c b/re2c/test/bug60_redundant_yymarker.ci.c index 682d5d70..48c4638c 100644 --- a/re2c/test/bug60_redundant_yymarker.ci.c +++ b/re2c/test/bug60_redundant_yymarker.ci.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-c][e-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 9: naked default case (stray code units: [0x00-c][e-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ { diff --git a/re2c/test/bug61.i--empty-class(match-empty).c b/re2c/test/bug61.i--empty-class(match-empty).c index 8d2f2da2..5b2fa4a2 100644 --- a/re2c/test/bug61.i--empty-class(match-empty).c +++ b/re2c/test/bug61.i--empty-class(match-empty).c @@ -1,9 +1,9 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] -re2c: warning: empty character class at line 6 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 6 [-Wmatch-empty-string] -re2c: warning: empty character class at line 10 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 10 [-Wmatch-empty-string] -re2c: warning: empty character class at line 14 [-Wempty-character-class] -re2c: warning: empty character class at line 14 [-Wempty-character-class] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] +re2c: warning: line 6: empty character class [-Wempty-character-class] +re2c: warning: line 6: rule matches empty string [-Wmatch-empty-string] +re2c: warning: line 10: empty character class [-Wempty-character-class] +re2c: warning: line 10: rule matches empty string [-Wmatch-empty-string] +re2c: warning: line 14: empty character class [-Wempty-character-class] +re2c: warning: line 14: empty character class [-Wempty-character-class] re2c: error: line 14, column 11: can only difference char sets diff --git a/re2c/test/bug61.i--empty-class(match-none).c b/re2c/test/bug61.i--empty-class(match-none).c index 55e10481..d35fe94c 100644 --- a/re2c/test/bug61.i--empty-class(match-none).c +++ b/re2c/test/bug61.i--empty-class(match-none).c @@ -1,17 +1,17 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: empty character class at line 6 [-Wempty-character-class] -re2c: warning: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: empty character class at line 10 [-Wempty-character-class] -re2c: warning: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: empty character class at line 14 [-Wempty-character-class] -re2c: warning: empty character class at line 14 [-Wempty-character-class] -re2c: warning: empty character class at line 14 [-Wempty-character-class] -re2c: warning: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: empty character class at line 18 [-Wempty-character-class] -re2c: warning: empty character class at line 18 [-Wempty-character-class] -re2c: warning: empty character class at line 18 [-Wempty-character-class] -re2c: warning: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 3: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 6: empty character class [-Wempty-character-class] +re2c: warning: line 7: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 10: empty character class [-Wempty-character-class] +re2c: warning: line 11: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 14: empty character class [-Wempty-character-class] +re2c: warning: line 14: empty character class [-Wempty-character-class] +re2c: warning: line 14: empty character class [-Wempty-character-class] +re2c: warning: line 15: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 18: empty character class [-Wempty-character-class] +re2c: warning: line 18: empty character class [-Wempty-character-class] +re2c: warning: line 18: empty character class [-Wempty-character-class] +re2c: warning: line 19: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ { diff --git a/re2c/test/bug61.i.c b/re2c/test/bug61.i.c index 8d2f2da2..5b2fa4a2 100644 --- a/re2c/test/bug61.i.c +++ b/re2c/test/bug61.i.c @@ -1,9 +1,9 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] -re2c: warning: empty character class at line 6 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 6 [-Wmatch-empty-string] -re2c: warning: empty character class at line 10 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 10 [-Wmatch-empty-string] -re2c: warning: empty character class at line 14 [-Wempty-character-class] -re2c: warning: empty character class at line 14 [-Wempty-character-class] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] +re2c: warning: line 6: empty character class [-Wempty-character-class] +re2c: warning: line 6: rule matches empty string [-Wmatch-empty-string] +re2c: warning: line 10: empty character class [-Wempty-character-class] +re2c: warning: line 10: rule matches empty string [-Wmatch-empty-string] +re2c: warning: line 14: empty character class [-Wempty-character-class] +re2c: warning: line 14: empty character class [-Wempty-character-class] re2c: error: line 14, column 11: can only difference char sets diff --git a/re2c/test/bug61_difference_full.i--empty-class(match-empty).c b/re2c/test/bug61_difference_full.i--empty-class(match-empty).c index 181c5789..b0a08f62 100644 --- a/re2c/test/bug61_difference_full.i--empty-class(match-empty).c +++ b/re2c/test/bug61_difference_full.i--empty-class(match-empty).c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ { diff --git a/re2c/test/bug61_difference_full.i--empty-class(match-none).c b/re2c/test/bug61_difference_full.i--empty-class(match-none).c index b3f71b84..7f095d57 100644 --- a/re2c/test/bug61_difference_full.i--empty-class(match-none).c +++ b/re2c/test/bug61_difference_full.i--empty-class(match-none).c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 3: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ { diff --git a/re2c/test/bug61_difference_full.i.c b/re2c/test/bug61_difference_full.i.c index 181c5789..b0a08f62 100644 --- a/re2c/test/bug61_difference_full.i.c +++ b/re2c/test/bug61_difference_full.i.c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ { diff --git a/re2c/test/bug61_difference_negative.i--empty-class(match-empty).c b/re2c/test/bug61_difference_negative.i--empty-class(match-empty).c index eeb2fcd4..049b9a77 100644 --- a/re2c/test/bug61_difference_negative.i--empty-class(match-empty).c +++ b/re2c/test/bug61_difference_negative.i--empty-class(match-empty).c @@ -1,3 +1,3 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: empty character class at line 2 [-Wempty-character-class] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: empty character class [-Wempty-character-class] re2c: error: line 2, column 31: can only difference char sets diff --git a/re2c/test/bug61_difference_negative.i--empty-class(match-none).c b/re2c/test/bug61_difference_negative.i--empty-class(match-none).c index 41ff5e73..e4fed2de 100644 --- a/re2c/test/bug61_difference_negative.i--empty-class(match-none).c +++ b/re2c/test/bug61_difference_negative.i--empty-class(match-none).c @@ -1,7 +1,7 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 3: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ { diff --git a/re2c/test/bug61_difference_negative.i.c b/re2c/test/bug61_difference_negative.i.c index eeb2fcd4..049b9a77 100644 --- a/re2c/test/bug61_difference_negative.i.c +++ b/re2c/test/bug61_difference_negative.i.c @@ -1,3 +1,3 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: empty character class at line 2 [-Wempty-character-class] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: empty character class [-Wempty-character-class] re2c: error: line 2, column 31: can only difference char sets diff --git a/re2c/test/bug61_difference_positive.i--empty-class(match-empty).c b/re2c/test/bug61_difference_positive.i--empty-class(match-empty).c index 4ecffb0a..463f74d4 100644 --- a/re2c/test/bug61_difference_positive.i--empty-class(match-empty).c +++ b/re2c/test/bug61_difference_positive.i--empty-class(match-empty).c @@ -1,3 +1,3 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: empty character class at line 2 [-Wempty-character-class] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: empty character class [-Wempty-character-class] re2c: error: line 2, column 11: can only difference char sets diff --git a/re2c/test/bug61_difference_positive.i--empty-class(match-none).c b/re2c/test/bug61_difference_positive.i--empty-class(match-none).c index 41ff5e73..e4fed2de 100644 --- a/re2c/test/bug61_difference_positive.i--empty-class(match-none).c +++ b/re2c/test/bug61_difference_positive.i--empty-class(match-none).c @@ -1,7 +1,7 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 3: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ { diff --git a/re2c/test/bug61_difference_positive.i.c b/re2c/test/bug61_difference_positive.i.c index 4ecffb0a..463f74d4 100644 --- a/re2c/test/bug61_difference_positive.i.c +++ b/re2c/test/bug61_difference_positive.i.c @@ -1,3 +1,3 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: empty character class at line 2 [-Wempty-character-class] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: empty character class [-Wempty-character-class] re2c: error: line 2, column 11: can only difference char sets diff --git a/re2c/test/bug61_negative.i--empty-class(match-empty).c b/re2c/test/bug61_negative.i--empty-class(match-empty).c index 181c5789..b0a08f62 100644 --- a/re2c/test/bug61_negative.i--empty-class(match-empty).c +++ b/re2c/test/bug61_negative.i--empty-class(match-empty).c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ { diff --git a/re2c/test/bug61_negative.i--empty-class(match-none).c b/re2c/test/bug61_negative.i--empty-class(match-none).c index b3f71b84..7f095d57 100644 --- a/re2c/test/bug61_negative.i--empty-class(match-none).c +++ b/re2c/test/bug61_negative.i--empty-class(match-none).c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 3: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ { diff --git a/re2c/test/bug61_negative.i.c b/re2c/test/bug61_negative.i.c index 181c5789..b0a08f62 100644 --- a/re2c/test/bug61_negative.i.c +++ b/re2c/test/bug61_negative.i.c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ { diff --git a/re2c/test/bug61_positive.i--empty-class(match-empty).c b/re2c/test/bug61_positive.i--empty-class(match-empty).c index 181c5789..b0a08f62 100644 --- a/re2c/test/bug61_positive.i--empty-class(match-empty).c +++ b/re2c/test/bug61_positive.i--empty-class(match-empty).c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ { diff --git a/re2c/test/bug61_positive.i--empty-class(match-none).c b/re2c/test/bug61_positive.i--empty-class(match-none).c index b3f71b84..7f095d57 100644 --- a/re2c/test/bug61_positive.i--empty-class(match-none).c +++ b/re2c/test/bug61_positive.i--empty-class(match-none).c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 3: naked default case (stray code units: [0x00-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ { diff --git a/re2c/test/bug61_positive.i.c b/re2c/test/bug61_positive.i.c index 181c5789..b0a08f62 100644 --- a/re2c/test/bug61_positive.i.c +++ b/re2c/test/bug61_positive.i.c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ { diff --git a/re2c/test/casing-flags.i--case-insensitive.c b/re2c/test/casing-flags.i--case-insensitive.c index 177fbfac..b7f04643 100644 --- a/re2c/test/casing-flags.i--case-insensitive.c +++ b/re2c/test/casing-flags.i--case-insensitive.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-@][C-`][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 4: naked default case (stray code units: [0x00-@][C-`][c-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ { diff --git a/re2c/test/casing-flags.i--case-inverted.c b/re2c/test/casing-flags.i--case-inverted.c index bf823335..95613eef 100644 --- a/re2c/test/casing-flags.i--case-inverted.c +++ b/re2c/test/casing-flags.i--case-inverted.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-@][B-`][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 4: naked default case (stray code units: [0x00-@][B-`][c-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ { diff --git a/re2c/test/casing-flags.i.c b/re2c/test/casing-flags.i.c index 02a88fad..8d277791 100644 --- a/re2c/test/casing-flags.i.c +++ b/re2c/test/casing-flags.i.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-A][C-`][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 4: naked default case (stray code units: [0x00-A][C-`][c-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ { diff --git a/re2c/test/cond_error_10.c.c b/re2c/test/cond_error_10.c.c index 2800e49b..410a7ad1 100644 --- a/re2c/test/cond_error_10.c.c +++ b/re2c/test/cond_error_10.c.c @@ -1,3 +1,3 @@ -re2c: warning: naked default case (stray code units: [0x00-`][b-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-a][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 8: naked default case (stray code units: [0x00-`][b-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 8: naked default case (stray code units: [0x00-a][c-0xFF]), better add default rule * [-Wnaked-default] re2c: error: line 6, column 1: setup for non existing rule 'c' found diff --git a/re2c/test/cond_error_11.c.c b/re2c/test/cond_error_11.c.c index 75a006ae..b1065648 100644 --- a/re2c/test/cond_error_11.c.c +++ b/re2c/test/cond_error_11.c.c @@ -1,3 +1,3 @@ -re2c: warning: naked default case (stray code units: [0x00-`][b-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-a][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 9: naked default case (stray code units: [0x00-`][b-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 9: naked default case (stray code units: [0x00-a][c-0xFF]), better add default rule * [-Wnaked-default] re2c: error: line 7, column 1: setup for all rules with '*' not possible when all rules are setup explicitly diff --git a/re2c/test/condition_01.c.c b/re2c/test/condition_01.c.c index ca751521..1dacb60e 100644 --- a/re2c/test/condition_01.c.c +++ b/re2c/test/condition_01.c.c @@ -1,5 +1,5 @@ -re2c: warning: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 5: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 5: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "condition_01.c.re" diff --git a/re2c/test/condition_01a.c.c b/re2c/test/condition_01a.c.c index 8c3839e0..f8dcd54d 100644 --- a/re2c/test/condition_01a.c.c +++ b/re2c/test/condition_01a.c.c @@ -1,5 +1,5 @@ -re2c: warning: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 5: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 5: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "condition_01a.c.re" diff --git a/re2c/test/condition_01b.c.c b/re2c/test/condition_01b.c.c index 1b33f6f4..251f2332 100644 --- a/re2c/test/condition_01b.c.c +++ b/re2c/test/condition_01b.c.c @@ -1,5 +1,5 @@ -re2c: warning: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 5: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 5: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "condition_01b.c.re" diff --git a/re2c/test/condition_02.c.c b/re2c/test/condition_02.c.c index c3705f66..c74a002a 100644 --- a/re2c/test/condition_02.c.c +++ b/re2c/test/condition_02.c.c @@ -1,6 +1,6 @@ -re2c: warning: rule matches empty string at line 3 [-Wmatch-empty-string] -re2c: warning: naked default case (stray code units: [0x00-`][c-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-a][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: rule matches empty string [-Wmatch-empty-string] +re2c: warning: line 7: naked default case (stray code units: [0x00-`][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 7: naked default case (stray code units: [0x00-a][c-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "condition_02.c.re" diff --git a/re2c/test/condition_02.cg.c b/re2c/test/condition_02.cg.c index 0cfbb235..d0c0d0fb 100644 --- a/re2c/test/condition_02.cg.c +++ b/re2c/test/condition_02.cg.c @@ -1,6 +1,6 @@ -re2c: warning: rule matches empty string at line 3 [-Wmatch-empty-string] -re2c: warning: naked default case (stray code units: [0x00-`][c-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-a][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: rule matches empty string [-Wmatch-empty-string] +re2c: warning: line 7: naked default case (stray code units: [0x00-`][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 7: naked default case (stray code units: [0x00-a][c-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "condition_02.cg.re" diff --git a/re2c/test/condition_03.cg.c b/re2c/test/condition_03.cg.c index a7bc9774..b304d603 100644 --- a/re2c/test/condition_03.cg.c +++ b/re2c/test/condition_03.cg.c @@ -1,6 +1,6 @@ -re2c: warning: rule matches empty string at line 3 [-Wmatch-empty-string] -re2c: warning: naked default case (stray code units: [0x00-0][3-`][c-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-0][3-a][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: rule matches empty string [-Wmatch-empty-string] +re2c: warning: line 9: naked default case (stray code units: [0x00-0][3-`][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 9: naked default case (stray code units: [0x00-0][3-a][c-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "condition_03.cg.re" diff --git a/re2c/test/condition_04.cg.c b/re2c/test/condition_04.cg.c index e387041e..aed18710 100644 --- a/re2c/test/condition_04.cg.c +++ b/re2c/test/condition_04.cg.c @@ -1,5 +1,5 @@ -re2c: warning: naked default case (stray code units: [0x00-0][3-`][c-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-0][3-a][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 8: naked default case (stray code units: [0x00-0][3-`][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 8: naked default case (stray code units: [0x00-0][3-a][c-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "condition_04.cg.re" diff --git a/re2c/test/condition_11.cg.c b/re2c/test/condition_11.cg.c index 1522a4e7..76d2972b 100644 --- a/re2c/test/condition_11.cg.c +++ b/re2c/test/condition_11.cg.c @@ -1,6 +1,6 @@ -re2c: warning: rule matches empty string at line 3 [-Wmatch-empty-string] -re2c: warning: naked default case (stray code units: [0x00-0][3-`][c-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-0][3-a][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: rule matches empty string [-Wmatch-empty-string] +re2c: warning: line 9: naked default case (stray code units: [0x00-0][3-`][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 9: naked default case (stray code units: [0x00-0][3-a][c-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "condition_11.cg.re" diff --git a/re2c/test/condition_13.cg.c b/re2c/test/condition_13.cg.c index 12ec0988..962c2caa 100644 --- a/re2c/test/condition_13.cg.c +++ b/re2c/test/condition_13.cg.c @@ -1,6 +1,6 @@ -re2c: warning: rule matches empty string at line 3 [-Wmatch-empty-string] -re2c: warning: naked default case (stray code units: [0x00-0][3-`][c-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-0][3-a][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: rule matches empty string [-Wmatch-empty-string] +re2c: warning: line 9: naked default case (stray code units: [0x00-0][3-`][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 9: naked default case (stray code units: [0x00-0][3-a][c-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "condition_13.cg.re" diff --git a/re2c/test/config11.ei.c b/re2c/test/config11.ei.c index 83895bb7..559880aa 100644 --- a/re2c/test/config11.ei.c +++ b/re2c/test/config11.ei.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-0x80][0x83-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 16: naked default case (stray code units: [0x00-0x80][0x83-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ unsigned char scan(const unsigned char *s) { diff --git a/re2c/test/dot_backslash.D.c b/re2c/test/dot_backslash.D.c index cb4d1251..e3452fec 100644 --- a/re2c/test/dot_backslash.D.c +++ b/re2c/test/dot_backslash.D.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-[][0x5D-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 5: naked default case (stray code units: [0x00-[][0x5D-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ digraph re2c { diff --git a/re2c/test/dot_conditions.Dc.c b/re2c/test/dot_conditions.Dc.c index 3b088b11..7673e7ec 100644 --- a/re2c/test/dot_conditions.Dc.c +++ b/re2c/test/dot_conditions.Dc.c @@ -1,5 +1,5 @@ -re2c: warning: naked default case (stray code units: [0x00-`][a][b-e][f][g-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 10: naked default case (stray code units: [0x00-`][a][b-e][f][g-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 10: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ digraph re2c { diff --git a/re2c/test/flex-01.iF.c b/re2c/test/flex-01.iF.c index 9ef7de8d..6b182eda 100644 --- a/re2c/test/flex-01.iF.c +++ b/re2c/test/flex-01.iF.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-`][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 9: naked default case (stray code units: [0x00-`][c-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ { diff --git a/re2c/test/input12.boinput12.c.c b/re2c/test/input12.boinput12.c.c index 3b539f23..c8f2c9e6 100644 --- a/re2c/test/input12.boinput12.c.c +++ b/re2c/test/input12.boinput12.c.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 5: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "input12.boinput12.c.re" diff --git a/re2c/test/input12.oinput12.c.c b/re2c/test/input12.oinput12.c.c index 99b27b07..411db52d 100644 --- a/re2c/test/input12.oinput12.c.c +++ b/re2c/test/input12.oinput12.c.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 5: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "input12.oinput12.c.re" diff --git a/re2c/test/input2.c b/re2c/test/input2.c index 34425520..f7c107a5 100644 --- a/re2c/test/input2.c +++ b/re2c/test/input2.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 5: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "input2.re" diff --git a/re2c/test/input3.c b/re2c/test/input3.c index e894481d..155aa5cf 100644 --- a/re2c/test/input3.c +++ b/re2c/test/input3.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 5: naked default case (stray code units: [0x00-`][a][b-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "input3.re" diff --git a/re2c/test/input4.--empty-class(match-empty).c b/re2c/test/input4.--empty-class(match-empty).c index b1972818..91057aa9 100644 --- a/re2c/test/input4.--empty-class(match-empty).c +++ b/re2c/test/input4.--empty-class(match-empty).c @@ -1,4 +1,4 @@ -re2c: warning: empty character class at line 3 [-Wempty-character-class] +re2c: warning: line 3: empty character class [-Wempty-character-class] /* Generated by re2c */ #line 1 "input4.--empty-class(match-empty).re" diff --git a/re2c/test/input4.--empty-class(match-none).c b/re2c/test/input4.--empty-class(match-none).c index 20943561..d8b9136e 100644 --- a/re2c/test/input4.--empty-class(match-none).c +++ b/re2c/test/input4.--empty-class(match-none).c @@ -1,4 +1,4 @@ -re2c: warning: empty character class at line 3 [-Wempty-character-class] +re2c: warning: line 3: empty character class [-Wempty-character-class] /* Generated by re2c */ #line 1 "input4.--empty-class(match-none).re" diff --git a/re2c/test/input4.c b/re2c/test/input4.c index 3d964e3b..20225102 100644 --- a/re2c/test/input4.c +++ b/re2c/test/input4.c @@ -1,4 +1,4 @@ -re2c: warning: empty character class at line 3 [-Wempty-character-class] +re2c: warning: line 3: empty character class [-Wempty-character-class] /* Generated by re2c */ #line 1 "input4.re" diff --git a/re2c/test/input6.--empty-class(match-empty).c b/re2c/test/input6.--empty-class(match-empty).c index cd6e83e5..6d148272 100644 --- a/re2c/test/input6.--empty-class(match-empty).c +++ b/re2c/test/input6.--empty-class(match-empty).c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 3 [-Wempty-character-class] -re2c: warning: empty character class at line 3 [-Wempty-character-class] +re2c: warning: line 3: empty character class [-Wempty-character-class] +re2c: warning: line 3: empty character class [-Wempty-character-class] /* Generated by re2c */ #line 1 "input6.--empty-class(match-empty).re" diff --git a/re2c/test/input6.--empty-class(match-none).c b/re2c/test/input6.--empty-class(match-none).c index 97105bc5..c9774a3d 100644 --- a/re2c/test/input6.--empty-class(match-none).c +++ b/re2c/test/input6.--empty-class(match-none).c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 3 [-Wempty-character-class] -re2c: warning: empty character class at line 3 [-Wempty-character-class] +re2c: warning: line 3: empty character class [-Wempty-character-class] +re2c: warning: line 3: empty character class [-Wempty-character-class] /* Generated by re2c */ #line 1 "input6.--empty-class(match-none).re" diff --git a/re2c/test/input6.c b/re2c/test/input6.c index c7a1b989..69443418 100644 --- a/re2c/test/input6.c +++ b/re2c/test/input6.c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 3 [-Wempty-character-class] -re2c: warning: empty character class at line 3 [-Wempty-character-class] +re2c: warning: line 3: empty character class [-Wempty-character-class] +re2c: warning: line 3: empty character class [-Wempty-character-class] /* Generated by re2c */ #line 1 "input6.re" diff --git a/re2c/test/line-01.c b/re2c/test/line-01.c index bf1a9002..b074ae49 100644 --- a/re2c/test/line-01.c +++ b/re2c/test/line-01.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 1: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "line-01.re" const char* scan(unsigned char* in) diff --git a/re2c/test/overflow-1.c b/re2c/test/overflow-1.c index d1697021..4e2e98d0 100644 --- a/re2c/test/overflow-1.c +++ b/re2c/test/overflow-1.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-/][0][1-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x00-/][0][1-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "overflow-1.re" diff --git a/re2c/test/overflow-4.c b/re2c/test/overflow-4.c index 52d167b6..8b927f3c 100644 --- a/re2c/test/overflow-4.c +++ b/re2c/test/overflow-4.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-a][b][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 6: naked default case (stray code units: [0x00-a][b][c-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "overflow-4.re" diff --git a/re2c/test/php20150211_pdo_sql_parser.ig.c b/re2c/test/php20150211_pdo_sql_parser.ig.c index 72e6c28f..07d83355 100644 --- a/re2c/test/php20150211_pdo_sql_parser.ig.c +++ b/re2c/test/php20150211_pdo_sql_parser.ig.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00]), better add default rule * [-Wnaked-default] +re2c: warning: line 66: naked default case (stray code units: [0x00]), better add default rule * [-Wnaked-default] /* Generated by re2c */ /* +----------------------------------------------------------------------+ diff --git a/re2c/test/php20150211_phar_path_check.ig.c b/re2c/test/php20150211_phar_path_check.ig.c index dce5d4fe..f29e8dc5 100644 --- a/re2c/test/php20150211_phar_path_check.ig.c +++ b/re2c/test/php20150211_phar_path_check.ig.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 108: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] /* Generated by re2c */ /* +----------------------------------------------------------------------+ diff --git a/re2c/test/range_dot.8.c b/re2c/test/range_dot.8.c index 6550a8c3..53132816 100644 --- a/re2c/test/range_dot.8.c +++ b/re2c/test/range_dot.8.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x0A][0x80-0xC1][0xC2-0xDF][0xE0][0xE1-0xEF][0xF0][0xF1-0xF3][0xF4][0xF5-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x0A][0x80-0xC1][0xC2-0xDF][0xE0][0xE1-0xEF][0xF0][0xF1-0xF3][0xF4][0xF5-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "range_dot.8.re" diff --git a/re2c/test/range_dot.c b/re2c/test/range_dot.c index b44fe312..1d01c4b6 100644 --- a/re2c/test/range_dot.c +++ b/re2c/test/range_dot.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "range_dot.re" diff --git a/re2c/test/range_dot.e.c b/re2c/test/range_dot.e.c index 2da28052..a35782a7 100644 --- a/re2c/test/range_dot.e.c +++ b/re2c/test/range_dot.e.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x25]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x25]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "range_dot.e.re" diff --git a/re2c/test/range_dot.u.c b/re2c/test/range_dot.u.c index 2d01292f..c5f1ea12 100644 --- a/re2c/test/range_dot.u.c +++ b/re2c/test/range_dot.u.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x0000000A]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x0000000A]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "range_dot.u.re" diff --git a/re2c/test/range_dot.w.c b/re2c/test/range_dot.w.c index 327fc542..10a17876 100644 --- a/re2c/test/range_dot.w.c +++ b/re2c/test/range_dot.w.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x000A]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x000A]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "range_dot.w.re" diff --git a/re2c/test/range_dot.x.c b/re2c/test/range_dot.x.c index 1aa18bef..5b60f0f3 100644 --- a/re2c/test/range_dot.x.c +++ b/re2c/test/range_dot.x.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x000A]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x000A]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "range_dot.x.re" diff --git a/re2c/test/range_empty.8.c b/re2c/test/range_empty.8.c index 5e38c605..e1da9bcc 100644 --- a/re2c/test/range_empty.8.c +++ b/re2c/test/range_empty.8.c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ #line 1 "range_empty.8.re" diff --git a/re2c/test/range_empty.c b/re2c/test/range_empty.c index 536519bc..d578b77b 100644 --- a/re2c/test/range_empty.c +++ b/re2c/test/range_empty.c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ #line 1 "range_empty.re" diff --git a/re2c/test/range_empty.e.c b/re2c/test/range_empty.e.c index 31eb1e58..ed0a21aa 100644 --- a/re2c/test/range_empty.e.c +++ b/re2c/test/range_empty.e.c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ #line 1 "range_empty.e.re" diff --git a/re2c/test/range_empty.u.c b/re2c/test/range_empty.u.c index de4e2bbc..768a58d3 100644 --- a/re2c/test/range_empty.u.c +++ b/re2c/test/range_empty.u.c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ #line 1 "range_empty.u.re" diff --git a/re2c/test/range_empty.w.c b/re2c/test/range_empty.w.c index 2c833142..a2ae67d1 100644 --- a/re2c/test/range_empty.w.c +++ b/re2c/test/range_empty.w.c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ #line 1 "range_empty.w.re" diff --git a/re2c/test/range_empty.x.c b/re2c/test/range_empty.x.c index 39eba14d..81703bba 100644 --- a/re2c/test/range_empty.x.c +++ b/re2c/test/range_empty.x.c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 2 [-Wempty-character-class] -re2c: warning: rule matches empty string at line 2 [-Wmatch-empty-string] +re2c: warning: line 2: empty character class [-Wempty-character-class] +re2c: warning: line 2: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ #line 1 "range_empty.x.re" diff --git a/re2c/test/range_full.8.c b/re2c/test/range_full.8.c index fda14348..465f855a 100644 --- a/re2c/test/range_full.8.c +++ b/re2c/test/range_full.8.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x80-0xC1][0xC2-0xDF][0xE0][0xE1-0xEF][0xF0][0xF1-0xF3][0xF4][0xF5-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x80-0xC1][0xC2-0xDF][0xE0][0xE1-0xEF][0xF0][0xF1-0xF3][0xF4][0xF5-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "range_full.8.re" diff --git a/re2c/test/range_neg_lf.8.c b/re2c/test/range_neg_lf.8.c index f14f2d60..4c3afc3a 100644 --- a/re2c/test/range_neg_lf.8.c +++ b/re2c/test/range_neg_lf.8.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x0A][0x80-0xC1][0xC2-0xDF][0xE0][0xE1-0xEF][0xF0][0xF1-0xF3][0xF4][0xF5-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x0A][0x80-0xC1][0xC2-0xDF][0xE0][0xE1-0xEF][0xF0][0xF1-0xF3][0xF4][0xF5-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "range_neg_lf.8.re" diff --git a/re2c/test/range_neg_lf.c b/re2c/test/range_neg_lf.c index 00d2cc4c..048876c4 100644 --- a/re2c/test/range_neg_lf.c +++ b/re2c/test/range_neg_lf.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "range_neg_lf.re" diff --git a/re2c/test/range_neg_lf.e.c b/re2c/test/range_neg_lf.e.c index cadd5716..a5760517 100644 --- a/re2c/test/range_neg_lf.e.c +++ b/re2c/test/range_neg_lf.e.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x25]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x25]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "range_neg_lf.e.re" diff --git a/re2c/test/range_neg_lf.u.c b/re2c/test/range_neg_lf.u.c index d8b1449c..8f25a1c5 100644 --- a/re2c/test/range_neg_lf.u.c +++ b/re2c/test/range_neg_lf.u.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x0000000A]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x0000000A]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "range_neg_lf.u.re" diff --git a/re2c/test/range_neg_lf.w.c b/re2c/test/range_neg_lf.w.c index 2ef58c00..dbc2facb 100644 --- a/re2c/test/range_neg_lf.w.c +++ b/re2c/test/range_neg_lf.w.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x000A]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x000A]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "range_neg_lf.w.re" diff --git a/re2c/test/range_neg_lf.x.c b/re2c/test/range_neg_lf.x.c index 15eea972..c824e7bf 100644 --- a/re2c/test/range_neg_lf.x.c +++ b/re2c/test/range_neg_lf.x.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x000A]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x000A]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "range_neg_lf.x.re" diff --git a/re2c/test/repeat-01.cgir.c b/re2c/test/repeat-01.cgir.c index 7434c790..3c5e8856 100644 --- a/re2c/test/repeat-01.cgir.c +++ b/re2c/test/repeat-01.cgir.c @@ -1,5 +1,5 @@ -re2c: warning: naked default case (stray code units: [0x00-0][3-`][c-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-0][3-a][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 13: naked default case (stray code units: [0x00-0][3-`][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 13: naked default case (stray code units: [0x00-0][3-a][c-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ // multiple scanners diff --git a/re2c/test/repeat-02.cgir.c b/re2c/test/repeat-02.cgir.c index 88fc80ff..a5a110c1 100644 --- a/re2c/test/repeat-02.cgir.c +++ b/re2c/test/repeat-02.cgir.c @@ -1,5 +1,5 @@ -re2c: warning: naked default case (stray code units: [0x00-0][3-`][c-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-0][3-a][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 13: naked default case (stray code units: [0x00-0][3-`][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 13: naked default case (stray code units: [0x00-0][3-a][c-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ // multiple scanners diff --git a/re2c/test/repeat-03.cgir.c b/re2c/test/repeat-03.cgir.c index 568de52d..3e2e4305 100644 --- a/re2c/test/repeat-03.cgir.c +++ b/re2c/test/repeat-03.cgir.c @@ -1,9 +1,9 @@ -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 14: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 14: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 18: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 18: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 28: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 28: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] /* Generated by re2c */ // multiple scanners diff --git a/re2c/test/repeat-04.cgir.c b/re2c/test/repeat-04.cgir.c index ad15a7ca..9e9077ff 100644 --- a/re2c/test/repeat-04.cgir.c +++ b/re2c/test/repeat-04.cgir.c @@ -1,3 +1,3 @@ -re2c: warning: naked default case (stray code units: [0x00-0][3-`][c-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x00-0][3-a][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 14: naked default case (stray code units: [0x00-0][3-`][c-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 14: naked default case (stray code units: [0x00-0][3-a][c-0xFF]), better add default rule * [-Wnaked-default] re2c: error: line 20, column 1: cannot have a second 'rules:re2c' block diff --git a/re2c/test/repeat-06.gir.c b/re2c/test/repeat-06.gir.c index 4f598389..5566196c 100644 --- a/re2c/test/repeat-06.gir.c +++ b/re2c/test/repeat-06.gir.c @@ -1,7 +1,7 @@ -re2c: warning: naked default case (stray code units: [0x00-`][e-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 14: naked default case (stray code units: [0x00-`][e-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 24: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 39: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 54: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] /* Generated by re2c */ // multiple scanners, additional rules, no char width change diff --git a/re2c/test/repeat-07.gir.c b/re2c/test/repeat-07.gir.c index 264cef36..89cb3bba 100644 --- a/re2c/test/repeat-07.gir.c +++ b/re2c/test/repeat-07.gir.c @@ -1,7 +1,7 @@ -re2c: warning: naked default case (stray code units: [0x00-`][e-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x000A]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x0000000A]), better add default rule * [-Wnaked-default] +re2c: warning: line 14: naked default case (stray code units: [0x00-`][e-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 27: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 45: naked default case (stray code units: [0x000A]), better add default rule * [-Wnaked-default] +re2c: warning: line 63: naked default case (stray code units: [0x0000000A]), better add default rule * [-Wnaked-default] /* Generated by re2c */ // multiple scanners, additional rules, char width change diff --git a/re2c/test/repeat-07_error.gir.c b/re2c/test/repeat-07_error.gir.c index c1120e3b..7bd0ba59 100644 --- a/re2c/test/repeat-07_error.gir.c +++ b/re2c/test/repeat-07_error.gir.c @@ -1,5 +1,5 @@ -re2c: warning: naked default case (stray code units: [0x00-`][e-0xFF]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x000A]), better add default rule * [-Wnaked-default] +re2c: warning: line 14: naked default case (stray code units: [0x00-`][e-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 27: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 45: naked default case (stray code units: [0x000A]), better add default rule * [-Wnaked-default] re2c: error: line 52, column 17: Cannot set '-u' switch: please reset '-e', '-w', '-x' and '-8' switches at first. diff --git a/re2c/test/reuse_conds_default_0.cgir.c b/re2c/test/reuse_conds_default_0.cgir.c index 9318e136..36967a20 100644 --- a/re2c/test/reuse_conds_default_0.cgir.c +++ b/re2c/test/reuse_conds_default_0.cgir.c @@ -1,3 +1,3 @@ -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 10: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 10: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] re2c: error: line 13, column 9: code to default rule 'r1' is already defined diff --git a/re2c/test/reuse_conds_default_1.cgir.c b/re2c/test/reuse_conds_default_1.cgir.c index aa28da67..0162390c 100644 --- a/re2c/test/reuse_conds_default_1.cgir.c +++ b/re2c/test/reuse_conds_default_1.cgir.c @@ -1,2 +1,2 @@ -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 17: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] re2c: error: line 11, column 9: code to default rule 'r1' is already defined diff --git a/re2c/test/reuse_conds_setup_0.cgir.c b/re2c/test/reuse_conds_setup_0.cgir.c index 56b52222..6521dadf 100644 --- a/re2c/test/reuse_conds_setup_0.cgir.c +++ b/re2c/test/reuse_conds_setup_0.cgir.c @@ -1,3 +1,3 @@ -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 10: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 10: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] re2c: error: line 13, column 9: code to setup rule 'r1' is already defined diff --git a/re2c/test/reuse_conds_setup_1.cgir.c b/re2c/test/reuse_conds_setup_1.cgir.c index 79287b98..3df23ef7 100644 --- a/re2c/test/reuse_conds_setup_1.cgir.c +++ b/re2c/test/reuse_conds_setup_1.cgir.c @@ -1,3 +1,3 @@ -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] -re2c: warning: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 17: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] +re2c: warning: line 17: naked default case (stray code units: [0x0A]), better add default rule * [-Wnaked-default] re2c: error: line 11, column 9: code to setup rule 'r1' is already defined diff --git a/re2c/test/rexx.--empty-class(match-empty).c b/re2c/test/rexx.--empty-class(match-empty).c index 5b0f6dcf..4cd310b3 100644 --- a/re2c/test/rexx.--empty-class(match-empty).c +++ b/re2c/test/rexx.--empty-class(match-empty).c @@ -1,4 +1,4 @@ -re2c: warning: empty character class at line 288 [-Wempty-character-class] +re2c: warning: line 288: empty character class [-Wempty-character-class] /* Generated by re2c */ #line 1 "rexx.--empty-class(match-empty).re" #include "scanio.h" diff --git a/re2c/test/rexx.--empty-class(match-none).c b/re2c/test/rexx.--empty-class(match-none).c index daccc45e..215bf6fd 100644 --- a/re2c/test/rexx.--empty-class(match-none).c +++ b/re2c/test/rexx.--empty-class(match-none).c @@ -1,5 +1,5 @@ -re2c: warning: empty character class at line 288 [-Wempty-character-class] -re2c: warning: naked default case (stray code units: [0x00-0x08][0x0A-0x0C][0x0E-0x1F][!-.][/][0-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 288: empty character class [-Wempty-character-class] +re2c: warning: line 290: naked default case (stray code units: [0x00-0x08][0x0A-0x0C][0x0E-0x1F][!-.][/][0-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "rexx.--empty-class(match-none).re" #include "scanio.h" diff --git a/re2c/test/rexx.c b/re2c/test/rexx.c index 5fd5fd31..f2c40113 100644 --- a/re2c/test/rexx.c +++ b/re2c/test/rexx.c @@ -1,4 +1,4 @@ -re2c: warning: empty character class at line 288 [-Wempty-character-class] +re2c: warning: line 288: empty character class [-Wempty-character-class] /* Generated by re2c */ #line 1 "rexx.re" #include "scanio.h" diff --git a/re2c/test/scanner.c b/re2c/test/scanner.c index 1d7e8823..db092de2 100644 --- a/re2c/test/scanner.c +++ b/re2c/test/scanner.c @@ -1,4 +1,4 @@ -re2c: warning: rule matches empty string at line 300 [-Wmatch-empty-string] +re2c: warning: line 300: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ #line 1 "scanner.re" /* Id: scanner.re,v 1.37 2006/02/25 12:41:41 helly Exp */ diff --git a/re2c/test/scanner.fs.c b/re2c/test/scanner.fs.c index a6e0fbd1..13c91afd 100644 --- a/re2c/test/scanner.fs.c +++ b/re2c/test/scanner.fs.c @@ -1,4 +1,4 @@ -re2c: warning: rule matches empty string at line 300 [-Wmatch-empty-string] +re2c: warning: line 300: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ #line 1 "scanner.fs.re" /* $Id: scanner.re,v 1.37 2006/02/25 12:41:41 helly Exp $ */ diff --git a/re2c/test/scanner.s.c b/re2c/test/scanner.s.c index 4745767f..7626c77f 100644 --- a/re2c/test/scanner.s.c +++ b/re2c/test/scanner.s.c @@ -1,4 +1,4 @@ -re2c: warning: rule matches empty string at line 300 [-Wmatch-empty-string] +re2c: warning: line 300: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ #line 1 "scanner.s.re" /* Id: scanner.re,v 1.37 2006/02/25 12:41:41 helly Exp */ diff --git a/re2c/test/scanner_re2c.bi.c b/re2c/test/scanner_re2c.bi.c index ca19a0df..1bc26f96 100644 --- a/re2c/test/scanner_re2c.bi.c +++ b/re2c/test/scanner_re2c.bi.c @@ -1,4 +1,4 @@ -re2c: warning: rule matches empty string at line 608 [-Wmatch-empty-string] +re2c: warning: line 608: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ /* $Id$ */ #include diff --git a/re2c/test/scanner_re2c_default.D.c b/re2c/test/scanner_re2c_default.D.c index 10f47844..545b440e 100644 --- a/re2c/test/scanner_re2c_default.D.c +++ b/re2c/test/scanner_re2c_default.D.c @@ -1,4 +1,4 @@ -re2c: warning: rule matches empty string at line 610 [-Wmatch-empty-string] +re2c: warning: line 610: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ digraph re2c { diff --git a/re2c/test/scanner_re2c_default.bi.c b/re2c/test/scanner_re2c_default.bi.c index bd201b93..2da4371b 100644 --- a/re2c/test/scanner_re2c_default.bi.c +++ b/re2c/test/scanner_re2c_default.bi.c @@ -1,4 +1,4 @@ -re2c: warning: rule matches empty string at line 610 [-Wmatch-empty-string] +re2c: warning: line 610: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ /* $Id$ */ #include diff --git a/re2c/test/utf32_0x10000.u.c b/re2c/test/utf32_0x10000.u.c index 4a448383..424633e3 100644 --- a/re2c/test/utf32_0x10000.u.c +++ b/re2c/test/utf32_0x10000.u.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00000000-0x0000FFFF][0x00010001-0x0010FFFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x00000000-0x0000FFFF][0x00010001-0x0010FFFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "utf32_0x10000.u.re" diff --git a/re2c/test/utf8-full_range-2.8.c b/re2c/test/utf8-full_range-2.8.c index c3cce67d..98072d4e 100644 --- a/re2c/test/utf8-full_range-2.8.c +++ b/re2c/test/utf8-full_range-2.8.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x80-0xC1][0xC2-0xDF][0xE0][0xE1-0xEF][0xF0][0xF1-0xF3][0xF4][0xF5-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 9: naked default case (stray code units: [0x80-0xC1][0xC2-0xDF][0xE0][0xE1-0xEF][0xF0][0xF1-0xF3][0xF4][0xF5-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "utf8-full_range-2.8.re" diff --git a/re2c/test/utf8-range_0x00_0x7f.8.c b/re2c/test/utf8-range_0x00_0x7f.8.c index ac41f8bb..7248bacb 100644 --- a/re2c/test/utf8-range_0x00_0x7f.8.c +++ b/re2c/test/utf8-range_0x00_0x7f.8.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x80-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x80-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "utf8-range_0x00_0x7f.8.re" diff --git a/re2c/test/utf8-range_0x100000_0x10ffff.8.c b/re2c/test/utf8-range_0x100000_0x10ffff.8.c index 06bebf24..eeff2915 100644 --- a/re2c/test/utf8-range_0x100000_0x10ffff.8.c +++ b/re2c/test/utf8-range_0x100000_0x10ffff.8.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-0xF3][0xF4][0xF5-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x00-0xF3][0xF4][0xF5-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "utf8-range_0x100000_0x10ffff.8.re" diff --git a/re2c/test/utf8-range_0x10000_0x3ffff.8.c b/re2c/test/utf8-range_0x10000_0x3ffff.8.c index dddfa080..628cc07b 100644 --- a/re2c/test/utf8-range_0x10000_0x3ffff.8.c +++ b/re2c/test/utf8-range_0x10000_0x3ffff.8.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-0xEF][0xF0][0xF1-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x00-0xEF][0xF0][0xF1-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "utf8-range_0x10000_0x3ffff.8.re" diff --git a/re2c/test/utf8-range_0x1000_0xffff.8.c b/re2c/test/utf8-range_0x1000_0xffff.8.c index 5988ddcb..abe9e8ac 100644 --- a/re2c/test/utf8-range_0x1000_0xffff.8.c +++ b/re2c/test/utf8-range_0x1000_0xffff.8.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-0xE0][0xE1-0xEF][0xF0-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x00-0xE0][0xE1-0xEF][0xF0-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "utf8-range_0x1000_0xffff.8.re" diff --git a/re2c/test/utf8-range_0x40000_0xfffff.8.c b/re2c/test/utf8-range_0x40000_0xfffff.8.c index c3f6df53..23582245 100644 --- a/re2c/test/utf8-range_0x40000_0xfffff.8.c +++ b/re2c/test/utf8-range_0x40000_0xfffff.8.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-0xF0][0xF1-0xF3][0xF4-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x00-0xF0][0xF1-0xF3][0xF4-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "utf8-range_0x40000_0xfffff.8.re" diff --git a/re2c/test/utf8-range_0x800_0xfff.8.c b/re2c/test/utf8-range_0x800_0xfff.8.c index 9693d967..9a4be791 100644 --- a/re2c/test/utf8-range_0x800_0xfff.8.c +++ b/re2c/test/utf8-range_0x800_0xfff.8.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-0xDF][0xE0][0xE1-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x00-0xDF][0xE0][0xE1-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "utf8-range_0x800_0xfff.8.re" diff --git a/re2c/test/utf8-range_0x80_0x7ff.8.c b/re2c/test/utf8-range_0x80_0x7ff.8.c index 090559a7..d8d4f7e8 100644 --- a/re2c/test/utf8-range_0x80_0x7ff.8.c +++ b/re2c/test/utf8-range_0x80_0x7ff.8.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-0xC1][0xC2-0xDF][0xE0-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x00-0xC1][0xC2-0xDF][0xE0-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "utf8-range_0x80_0x7ff.8.re" diff --git a/re2c/test/utf8-range_single_symbol.8.c b/re2c/test/utf8-range_single_symbol.8.c index 015aa17a..451d008a 100644 --- a/re2c/test/utf8-range_single_symbol.8.c +++ b/re2c/test/utf8-range_single_symbol.8.c @@ -1,4 +1,4 @@ -re2c: warning: naked default case (stray code units: [0x00-0xCF][0xD0][0xD1-0xFF]), better add default rule * [-Wnaked-default] +re2c: warning: line 3: naked default case (stray code units: [0x00-0xCF][0xD0][0xD1-0xFF]), better add default rule * [-Wnaked-default] /* Generated by re2c */ #line 1 "utf8-range_single_symbol.8.re" diff --git a/re2c/test/yyaccept_missing.bci.c b/re2c/test/yyaccept_missing.bci.c index e254b142..d6de95c0 100644 --- a/re2c/test/yyaccept_missing.bci.c +++ b/re2c/test/yyaccept_missing.bci.c @@ -1,4 +1,4 @@ -re2c: warning: rule matches empty string at line 44 [-Wmatch-empty-string] +re2c: warning: line 44: rule matches empty string [-Wmatch-empty-string] /* Generated by re2c */ #include #include -- 2.40.0