Module Name: src Committed By: joerg Date: Wed Apr 22 23:51:34 UTC 2020
Modified Files: src/usr.sbin/envstat: config_yacc.y Log Message: Externalize yytext, it belongs to the lexer To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/envstat/config_yacc.y Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/envstat/config_yacc.y diff -u src/usr.sbin/envstat/config_yacc.y:1.5 src/usr.sbin/envstat/config_yacc.y:1.6 --- src/usr.sbin/envstat/config_yacc.y:1.5 Thu Mar 15 02:02:23 2012 +++ src/usr.sbin/envstat/config_yacc.y Wed Apr 22 23:51:34 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: config_yacc.y,v 1.5 2012/03/15 02:02:23 joerg Exp $ */ +/* $NetBSD: config_yacc.y,v 1.6 2020/04/22 23:51:34 joerg Exp $ */ /*- * Copyright (c) 2007 Juan Romero Pardines. @@ -29,7 +29,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: config_yacc.y,v 1.5 2012/03/15 02:02:23 joerg Exp $"); +__RCSID("$NetBSD: config_yacc.y,v 1.6 2020/04/22 23:51:34 joerg Exp $"); #endif /* not lint */ #include <stdio.h> @@ -50,7 +50,7 @@ int yyerror(const char *, ...) __printfl void yyrestart(FILE *); int yyline; -char *yytext; +extern char *yytext; static prop_dictionary_t kdict; %}