This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Note why S_pending_ident's prototype can't be generated by embed.fnc
authorNicholas Clark <nick@ccl4.org>
Sun, 18 Oct 2009 16:10:02 +0000 (17:10 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 18 Oct 2009 16:48:10 +0000 (17:48 +0100)
toke.c

diff --git a/toke.c b/toke.c
index e41cef6..8e47c9a 100644 (file)
--- a/toke.c
+++ b/toke.c
@@ -96,6 +96,8 @@
 #  define PL_nextval           (PL_parser->nextval)
 #endif
 
+/* This can't be done with embed.fnc, because struct yy_parser contains a
+   member named pending_ident, which clashes with the generated #define  */
 static int
 S_pending_ident(pTHX);