Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/envstat Externalize yytext, it belongs to the lexer
details: https://anonhg.NetBSD.org/src/rev/b3fc1b5262f4
branches: trunk
changeset: 1009408:b3fc1b5262f4
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Apr 22 23:51:34 2020 +0000
description:
Externalize yytext, it belongs to the lexer
diffstat:
usr.sbin/envstat/config_yacc.y | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4d981a789074 -r b3fc1b5262f4 usr.sbin/envstat/config_yacc.y
--- a/usr.sbin/envstat/config_yacc.y Wed Apr 22 23:47:02 2020 +0000
+++ b/usr.sbin/envstat/config_yacc.y Wed Apr 22 23:51:34 2020 +0000
@@ -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 @@
void yyrestart(FILE *);
int yyline;
-char *yytext;
+extern char *yytext;
static prop_dictionary_t kdict;
%}
Home |
Main Index |
Thread Index |
Old Index