wrc: parser_error() does not need a trailing '\n'.

Francois Gouget fgouget at free.fr
Mon Nov 24 11:29:17 CST 2008


---
 tools/wrc/parser.l |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/wrc/parser.l b/tools/wrc/parser.l
index 2ed5f4b..bddc309 100644
--- a/tools/wrc/parser.l
+++ b/tools/wrc/parser.l
@@ -306,7 +306,7 @@ static unsigned long xstrtoul(const char *nptr, char **endptr, int base)
     errno = 0;
     l = strtoul(nptr, endptr, base);
     if (l == ULONG_MAX && errno == ERANGE)
-        parser_error("integer constant %s is too large\n", nptr);
+        parser_error("integer constant %s is too large", nptr);
     return l;
 }
 
-- 
1.5.6.5



More information about the wine-patches mailing list