summaryrefslogtreecommitdiff
path: root/yaccpar.skel
diff options
context:
space:
mode:
Diffstat (limited to 'yaccpar.skel')
-rw-r--r--yaccpar.skel6
1 files changed, 5 insertions, 1 deletions
diff --git a/yaccpar.skel b/yaccpar.skel
index c303b0054667d..b553180967c9e 100644
--- a/yaccpar.skel
+++ b/yaccpar.skel
@@ -1,4 +1,4 @@
-/* $Id: yaccpar.skel,v 1.8 2016/12/02 21:44:42 tom Exp $ */
+/* $Id: yaccpar.skel,v 1.9 2017/04/30 23:28:17 tom Exp $ */
#include "defs.h"
@@ -166,6 +166,10 @@ YYPARSE_DECL()
}
#endif
+%% init_vars
+ memset(&yyval, 0, sizeof(yyval));
+ memset(&yylval, 0, sizeof(yylval));
+
%% body_3
yym = 0;
yyn = 0;