Commit 9646f148 by James A. Morrison

(lex.l): Undef LINEMAP_POSITION_FOR_COLUMN before defining it.

2005-02-01  James A. Morrison  <phython@gcc.gnu.org>

        * (lex.l): Undef LINEMAP_POSITION_FOR_COLUMN before defining it.

From-SVN: r94544
parent 22f51792
2005-02-01 James A. Morrison <phython@gcc.gnu.org> 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
* (lex.l): Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
2005-02-01 James A. Morrison <phython@gcc.gnu.org>
* parse.y: Reformat comments. * parse.y: Reformat comments.
* treetree.c: Likewise. * treetree.c: Likewise.
* treetree.h: Likewise. * treetree.h: Likewise.
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
--------------------------------------------------------------------- ---------------------------------------------------------------------
Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003, 2004 Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003,
Free Software Foundation, Inc. 2004, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the under the terms of the GNU General Public License as published by the
...@@ -61,6 +61,7 @@ static void dump_lex_value (int lexret); ...@@ -61,6 +61,7 @@ static void dump_lex_value (int lexret);
#define NOT_RETURN(a) {update_yylval (a); if (option_lexer_trace)\ #define NOT_RETURN(a) {update_yylval (a); if (option_lexer_trace)\
{fprintf (stderr, "\nlexer swallowing"); dump_lex_value (a);}} {fprintf (stderr, "\nlexer swallowing"); dump_lex_value (a);}}
#ifndef USE_MAPPED_LOCATION #ifndef USE_MAPPED_LOCATION
#undef LINEMAP_POSITION_FOR_COLUMN
#define LINEMAP_POSITION_FOR_COLUMN(INPUT, LINETABLE, COL) #define LINEMAP_POSITION_FOR_COLUMN(INPUT, LINETABLE, COL)
#endif #endif
%} %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment