]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - parse.c
struct lex_file -> lex_file
[xonotic/gmqcc.git] / parse.c
diff --git a/parse.c b/parse.c
index 2d52efdec35e8b14e6c4f4854b6ef669d33e3d9e..0acc293cf8b1f2fd1d32b1afda9b8a8e8d48bc13 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -48,7 +48,7 @@ void compile_constant_debug() {
  * Generates a parse tree out of the lexees generated by the lexer.  This
  * is where the tree is built.  This is where valid check is performed.
  */
-int parse_gen(struct lex_file *file) {    
+int parse_gen(lex_file *file) {    
     int     token = 0;
     while ((token = lex_token(file)) != ERROR_LEX && file->length >= 0) {
         switch (token) {
@@ -262,8 +262,8 @@ int parse_gen(struct lex_file *file) {
                     if (token == '\n')
                         return error(file, ERROR_PARSE, "Invalid use of include preprocessor directive: wanted #include \"file.h\"\n");
                         
-                    char            *copy = util_strdup(file->lastok);
-                    struct lex_file *next = lex_include(file,   copy);
+                    char      *copy = util_strdup(file->lastok);
+                     lex_file *next = lex_include(file,   copy);
                     
                     if (!next) {
                         error(file, ERROR_INTERNAL, "Include subsystem failure\n");