浏览代码

cmFortranParser: remove unnecessary typedef

Daniel Pfeifer 8 年之前
父节点
当前提交
48cfb295a2
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Source/cmFortranParser.h

+ 1 - 2
Source/cmFortranParser.h

@@ -54,8 +54,7 @@ void cmFortranParser_RuleElse(cmFortranParser* parser);
 void cmFortranParser_RuleEndif(cmFortranParser* parser);
 
 /* Define the parser stack element type.  */
-typedef union cmFortran_yystype_u cmFortran_yystype;
-union cmFortran_yystype_u
+struct cmFortran_yystype
 {
   char* string;
 };