diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-10-24 21:35:06 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-10-24 21:52:09 -0600 |
commit | 1104029a0824d177415806f3d30cecd2c5c399a1 (patch) | |
tree | 5b1c90817d9a3481d1d2aa29195516afd2aa04c0 /t/lib | |
parent | 0fe83d7d6de15175e9ee151dfead28594671fc8b (diff) | |
download | perl-1104029a0824d177415806f3d30cecd2c5c399a1.tar.gz |
toke.c: Avoid unnecessary uninitialized value msgs
\N{uknown character} is now a syntax error. It also generates a "Use of
uninitialized value" message that is redundant (and confusing) with the
unknown character message.
Diffstat (limited to 't/lib')
-rw-r--r-- | t/lib/charnames/alias | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/t/lib/charnames/alias b/t/lib/charnames/alias index a4e36580e8..fcd08a97d1 100644 --- a/t/lib/charnames/alias +++ b/t/lib/charnames/alias @@ -62,7 +62,6 @@ use charnames ":alias" => { e_ACUTE => "LATIN SMALL LETTER E WITH ACUTE" }; "Here: \N{e_ACUTE}!\n"; EXPECT OPTIONS random fatal -Use of uninitialized value at - line 3. Unknown charname 'e_ACUTE' at - line 3, within string Execution of - aborted due to compilation errors. ######## @@ -73,7 +72,6 @@ use charnames ":short", ":alias" => { e_ACUTE => "LATIN SMALL LETTER E WITH ACUT "Here: \N{e_ACUTE}!\n"; EXPECT OPTIONS random fatal -Use of uninitialized value at - line 4. Unknown charname 'e_ACUTE' at - line 4, within string Execution of - aborted due to compilation errors. ######## @@ -102,7 +100,6 @@ use charnames ":loose", ":alias" => { e_ACUTE => "latin SMALL LETTER E WITH ACUT "Here: \N{e_ACUTE}!\n"; EXPECT OPTIONS random fatal -Use of uninitialized value at - line 4. Unknown charname 'e_ACUTE' at - line 4, within string Execution of - aborted due to compilation errors. ######## @@ -113,7 +110,6 @@ use charnames ":full", ":alias" => { e_ACUTE => "LATIN:e WITH ACUTE" }; "Here: \N{e_ACUTE}!\n"; EXPECT OPTIONS random fatal -Use of uninitialized value at - line 4. Unknown charname 'e_ACUTE' at - line 4, within string Execution of - aborted due to compilation errors. ######## @@ -162,7 +158,6 @@ use charnames ":short", ":alias" => { "Here: \N{e_ACUTE}\N{a_ACUTE}!\n"; EXPECT OPTIONS random fatal -Use of uninitialized value at - line 7. Unknown charname 'a_ACUTE' at - line 7, within string Execution of - aborted due to compilation errors. ######## @@ -187,7 +182,6 @@ use charnames ":short", ":alias" => { "Here: \N{e_ACUTE}\N{a_ACUTE}!\n"; EXPECT OPTIONS random fatal -Use of uninitialized value at - line 6. Unknown charname 'a_ACUTE' at - line 6, within string Execution of - aborted due to compilation errors. ######## @@ -200,7 +194,6 @@ use charnames ":short", ":alias" => { "Here: \N{e_ACUTE}\N{a_ACUTE}!\n"; EXPECT OPTIONS random fatal -Use of uninitialized value at - line 6. Unknown charname 'a_ACUTE' at - line 6, within string Execution of - aborted due to compilation errors. ######## @@ -214,8 +207,6 @@ use charnames ":full", ":alias" => { "Here: \N{e_ACUTE}\N{a_ACUTE}!\n"; EXPECT OPTIONS random fatal -Use of uninitialized value at - line 7. -Use of uninitialized value at - line 7. Unknown charname 'e_ACUTE' at - line 7, within string Execution of - aborted due to compilation errors. ######## @@ -270,8 +261,6 @@ use charnames ":full", ":alias" => "xyzzy"; "Here: \N{e_ACUTE}\N{a_ACUTE}!\n"; EXPECT OPTIONS random fatal -Use of uninitialized value at - line 4. -Use of uninitialized value at - line 4. Unknown charname 'e_ACUTE' at - line 4, within string Execution of - aborted due to compilation errors. ######## @@ -287,8 +276,6 @@ no warnings 'void'; use charnames ":full", ":alias" => "xyzzy"; "Here: \N{e_ACUTE}\N{a_ACUTE}!\n"; EXPECT -Use of uninitialized value at - line 4. -Use of uninitialized value at - line 4. Unknown charname 'e_ACUTE' at - line 4, within string Execution of - aborted due to compilation errors. ######## @@ -320,8 +307,6 @@ use charnames ":short", ":alias" => "xyzzy"; "Here: \N{e_ACUTE}\N{a_ACUTE}!\n"; EXPECT OPTIONS random fatal -Use of uninitialized value at - line 4. -Use of uninitialized value at - line 4. Unknown charname 'e_ACUTE' at - line 4, within string Execution of - aborted due to compilation errors. ######## @@ -337,8 +322,6 @@ no warnings 'void'; use charnames ":alias" => ":xyzzy"; "Here: \N{e_ACUTE}\N{a_ACUTE}!\n"; EXPECT -Use of uninitialized value at - line 4. -Use of uninitialized value at - line 4. Unknown charname 'e_ACUTE' at - line 4, within string Execution of - aborted due to compilation errors. ######## |