Implemented long variable names a la spss V12.
[pspp-builds.git] / src / lexer.h
index 95553f10c868280e3ae60919ad18353d12b30c02..71e24af00e6d73974a7d4627efb2e022ab8f5cb5 100644 (file)
@@ -20,6 +20,7 @@
 #if !lexer_h
 #define lexer_h 1
 
+#include "var.h"
 #include <ctype.h>
 #include "bool.h"
 
@@ -72,10 +73,9 @@ enum
     T_N_KEYWORDS = T_LAST_KEYWORD - T_FIRST_KEYWORD + 1
   };
 
-
 extern int token;
 extern double tokval;
-extern char tokid[9];
+extern char tokid[LONG_NAME_LEN + 1];
 extern struct string tokstr;
 
 #include <stddef.h>