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

Alexandre Julliard julliard at winehq.org
Tue Nov 25 07:21:22 CST 2008


Module: wine
Branch: master
Commit: 28b97861b968e14500db30ea8b7fe5932765194b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=28b97861b968e14500db30ea8b7fe5932765194b

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Nov 24 18:29:17 2008 +0100

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

---

 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;
 }
 




More information about the wine-cvs mailing list