Note why S_pending_ident's prototype can't be generated by embed.fnc
Nicholas Clark [Sun, 18 Oct 2009 16:10:02 +0000 (17:10 +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);