Adopt use of gnulib for portability.
[pspp-builds.git] / src / lexer.h
index 95553f10c868280e3ae60919ad18353d12b30c02..af3aeb0ae0f7bf54b5c5b226dd37ad3775fbbe17 100644 (file)
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-   02111-1307, USA. */
+   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+   02110-1301, USA. */
 
 #if !lexer_h
 #define lexer_h 1
 
+#include "var.h"
 #include <ctype.h>
-#include "bool.h"
+#include <stdbool.h>
 
 /* Returns nonzero if character CH may be the first character in an
    identifier. */
@@ -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>