]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
(lex.l): Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
authorJames A. Morrison <phython@gcc.gnu.org>
Tue, 1 Feb 2005 15:18:30 +0000 (15:18 +0000)
committerJames A. Morrison <phython@gcc.gnu.org>
Tue, 1 Feb 2005 15:18:30 +0000 (15:18 +0000)
2005-02-01  James A. Morrison  <phython@gcc.gnu.org>

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

From-SVN: r94544

gcc/treelang/ChangeLog
gcc/treelang/lex.l

index 33d633fd73c6f5cd0f2f41a2b95e52efe701c9e7..ff0d19c4db9e32b29a011b01eff760b6b5ac7c2b 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 71268ff3f8fc42e28243ab080647e80046f472d2..188c480a55090a5157577b5ef7a9d10b37941724 100644 (file)
@@ -4,8 +4,8 @@
 
    ---------------------------------------------------------------------
 
-   Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003, 2004
-   Free Software Foundation, Inc.
+   Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003,
+   2004, 2005 Free Software Foundation, Inc.
    
    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
@@ -61,6 +61,7 @@ static void dump_lex_value (int lexret);
 #define NOT_RETURN(a) {update_yylval (a); if (option_lexer_trace)\
    {fprintf (stderr, "\nlexer swallowing"); dump_lex_value (a);}}
 #ifndef USE_MAPPED_LOCATION
+#undef LINEMAP_POSITION_FOR_COLUMN
 #define LINEMAP_POSITION_FOR_COLUMN(INPUT, LINETABLE, COL)
 #endif
 %}