summaryrefslogtreecommitdiff
path: root/perly.y
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-10-26 09:04:09 +0200
committerYves Orton <demerphq@gmail.com>2022-10-31 07:57:25 +0100
commitfa88efeacd5d994ceacc035be21adaff50aaac7f (patch)
tree1643ad9d2165380d4c44728146df9df20727ee38 /perly.y
parentc06746dce9294ecbcea2fe5971680a2eee46ed0a (diff)
downloadperl-fa88efeacd5d994ceacc035be21adaff50aaac7f.tar.gz
perly.y - add a diag_listed_as for Unimplemented
In 1557e6c32831defe4b25a924a88baf5f5e7bcbdd we added a perldiag entry for 'Unimplemented', which was good. But in theory the message should have been picked up by the diagnostics tests when it was introduced. However, this error message is not constructed in the normal way, and the string was not identified as a message. This adds the appropriate comment in the appropirate place so that the diagnostics test will notice it should it change in the future. This necessitated a make perly_regen.
Diffstat (limited to 'perly.y')
-rw-r--r--perly.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/perly.y b/perly.y
index 00e6266625..1cb83cc9e5 100644
--- a/perly.y
+++ b/perly.y
@@ -552,6 +552,7 @@ barestmt: PLUGSTMT
}
| YADAYADA PERLY_SEMICOLON
{
+ /* diag_listed_as: Unimplemented */
$$ = newLISTOP(OP_DIE, 0, newOP(OP_PUSHMARK, 0),
newSVOP(OP_CONST, 0, newSVpvs("Unimplemented")));
}