From 321009129c53e5dadf679603da66dbaadf5010be Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 12 Sep 2003 09:46:37 +0000 Subject: [PATCH] [project @ 2003-09-12 09:46:37 by simonmar] Ignore lines containing #pragma .* generated by GCC 3.3's CPP on MacOS X, apparently. --- ghc/compiler/parser/Lexer.x | 1 + 1 file changed, 1 insertion(+) diff --git a/ghc/compiler/parser/Lexer.x b/ghc/compiler/parser/Lexer.x index 1159f63..aa5067f 100644 --- a/ghc/compiler/parser/Lexer.x +++ b/ghc/compiler/parser/Lexer.x @@ -123,6 +123,7 @@ $white_no_nl+ ; { \n ; ^\# (line)? { begin line_prag1 } + ^\# pragma .* \n ; -- GCC 3.3 CPP generated, apparently () { do_bol } } -- 1.7.10.4