From 7b4ffc05f916694dba01b84b4a434cd2268e0f37 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 20 Jan 2003 15:00:59 +0000 Subject: [PATCH] rename struct for consistency --- dtool/src/cppparser/cppBisonDefs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dtool/src/cppparser/cppBisonDefs.h b/dtool/src/cppparser/cppBisonDefs.h index 7db7bebfad..bc9e54733d 100644 --- a/dtool/src/cppparser/cppBisonDefs.h +++ b/dtool/src/cppparser/cppBisonDefs.h @@ -68,7 +68,7 @@ extern CPPPreprocessor *current_lexer; // union), so we'll use a class instead. That means we need to // declare it externally, here. -class yystype { +class cppyystype { public: string str; union { @@ -89,7 +89,7 @@ public: CPPIdentifier *identifier; } u; }; -#define YYSTYPE yystype +#define YYSTYPE cppyystype // This structure takes advantage of a bison feature to track the // exact location in the file of each token, for more useful error