From e0d4ce6245f7904b82496596921349c98e0b5a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sun, 8 Oct 2000 21:05:01 +0200 Subject: [PATCH] Added some debug. Rev: src/lexer.h:1.22 --- src/lexer.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lexer.h b/src/lexer.h index bcab17c2c5..c164699356 100644 --- a/src/lexer.h +++ b/src/lexer.h @@ -1,5 +1,5 @@ /* - * $Id: lexer.h,v 1.21 2000/09/26 00:17:46 hubbe Exp $ + * $Id: lexer.h,v 1.22 2000/10/08 19:05:01 grubba Exp $ * * Lexical analyzer template. * Based on lex.c 1.62 @@ -512,8 +512,12 @@ static int low_yylex(YYSTYPE *yylval) { debug_malloc_touch(yylval->n); free_node(yylval->n); - lex.pos=p1; yylval->fnum=(FLOAT_TYPE)f; +#if 0 + fprintf(stderr, "LEX: \"%.8s\" => %f, %f\n", + (char *)lex.pos, f, yylval->fnum); +#endif /* 0 */ + lex.pos=p1; return TOK_FLOAT; }else{ debug_malloc_touch(yylval->n); -- GitLab