From 2fb8f9b61f0669a403dae4bb3e39abfc8fe743ab Mon Sep 17 00:00:00 2001 From: Patrik Stridvall Date: Tue, 28 Mar 2000 19:25:46 +0000 Subject: [PATCH] Minor fix in wrc to support the Solaris preprocessor. --- tools/wrc/parser.l | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/wrc/parser.l b/tools/wrc/parser.l index 7d6fc8ffd29..ee7492a7633 100644 --- a/tools/wrc/parser.l +++ b/tools/wrc/parser.l @@ -548,6 +548,7 @@ void add_to_substtext(char *text, int len) /* preprocessor junk */ ^{ws}*#{ws}*pragma[^\n]* ; /* Ignore #pragma */ +^{ws}*#{ws}*ident[^\n]* ; /* Ignore #ident */ ^{ws}*#{ws}*line[^\n]* ; /* Ignore #line */ /* We'll get an error on malformed #xxx statements * by not recognising '#' at all. This helps tracking -- 2.11.4.GIT