]> git.sur5r.net Git - cc65/blobdiff - src/cc65/scanner.h
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / src / cc65 / scanner.h
index 1a97692a654c146d19b4fd3959f6a9c6f706e6a5..77f2028b9e7b28535fa06a06cad23506e16a7f6b 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                scanner.h                                 */
+/*                                 scanner.h                                 */
 /*                                                                           */
-/*                     Source file line info structure                      */
+/*                      Source file line info structure                      */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
@@ -49,7 +49,7 @@
 
 
 /*****************************************************************************/
-/*                            Token definitions                             */
+/*                             Token definitions                             */
 /*****************************************************************************/
 
 
@@ -81,7 +81,7 @@ typedef enum token_t {
 
     /* Tokens denoting types */
     TOK_FIRST_TYPE,
-    TOK_ENUM           = TOK_FIRST_TYPE,
+    TOK_ENUM            = TOK_FIRST_TYPE,
     TOK_CHAR,
     TOK_INT,
     TOK_DOUBLE,
@@ -135,7 +135,7 @@ typedef enum token_t {
     TOK_MINUS,
     TOK_MUL_ASSIGN,
     TOK_STAR,
-    TOK_MUL = TOK_STAR,                /* Alias */
+    TOK_MUL = TOK_STAR,         /* Alias */
     TOK_DIV_ASSIGN,
     TOK_DIV,
     TOK_BOOL_AND,
@@ -187,7 +187,7 @@ typedef enum token_t {
 
 
 /*****************************************************************************/
-/*                                  Data                                    */
+/*                                   Data                                    */
 /*****************************************************************************/
 
 
@@ -198,22 +198,22 @@ struct Literal;
 /* Token stuff */
 typedef struct Token Token;
 struct Token {
-    token_t                Tok;        /* The token itself */
-    long           IVal;       /* The integer attribute */
-    Double          FVal;      /* The float attribute */
+    token_t         Tok;        /* The token itself */
+    long            IVal;       /* The integer attribute */
+    Double          FVal;       /* The float attribute */
     struct Literal* SVal;       /* String literal is any */
-    ident          Ident;      /* Identifier if IDENT */
-    LineInfo*       LI;        /* Source line where the token comes from */
-    Type*                  Type;       /* Type if integer or float constant */
+    ident           Ident;      /* Identifier if IDENT */
+    LineInfo*       LI;         /* Source line where the token comes from */
+    Type*           Type;       /* Type if integer or float constant */
 };
 
-extern Token CurTok;           /* The current token */
-extern Token NextTok;          /* The next token */
+extern Token CurTok;            /* The current token */
+extern Token NextTok;           /* The next token */
 
 
 
 /*****************************************************************************/
-/*                                  Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/