Browse Source

rename struct for consistency

David Rose 23 years ago
parent
commit
7b4ffc05f9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      dtool/src/cppparser/cppBisonDefs.h

+ 2 - 2
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