]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.h
Indentation
[xonotic/gmqcc.git] / gmqcc.h
diff --git a/gmqcc.h b/gmqcc.h
index e95e42860f729b1b92e18484df2039aea09cdcc1..e8e3df055fee3c2ea6166f4a907a8bf2ba29a548 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
 //============================ lex.c ================================
 //===================================================================
 struct lex_file {
-       FILE *file;
-       char  peek  [5];
+       FILE *file;        /* file handler */
+       char *name;        /* name of file */
+       char  peek  [5];  
        char  lastok[8192];
        
-       int   last;
-       int   current;
-       int   length;
-       int   size;
+       
+       int   last;    /* last token                   */
+       int   current; /* current token                */
+       
+       int   length;  /* bytes left to parse          */
+       int   size;    /* never changes (size of file) */
+       int   line;    /* what line are we on?         */
 };
 
 /*