diff options
author | Peter Hartmann <peter.hartmann@nokia.com> | 2009-10-29 13:15:59 (GMT) |
---|---|---|
committer | Peter Hartmann <peter.hartmann@nokia.com> | 2009-11-11 10:12:12 (GMT) |
commit | 1502df3ddedc5a4365e12bce570d946744259785 (patch) | |
tree | 977757c93743bce8df23a180e64a08f749935ba7 /src/script/parser/qscriptparser.cpp | |
parent | c412b5f144ea99ea70f4df291678631e13900962 (diff) | |
download | Qt-1502df3ddedc5a4365e12bce570d946744259785.zip Qt-1502df3ddedc5a4365e12bce570d946744259785.tar.gz Qt-1502df3ddedc5a4365e12bce570d946744259785.tar.bz2 |
utils/qlalr generator: adapt changes to xmlstream and script files
some changes were made to qxmlstream_p.h and script files directly;
however, those files are generated automatically by
src/corelib/xml/make-parser.sh and src/script/parser/make-parser.sh,
respectively, so the generator would overwrite the manual changes to the
files the next time it is run. This patch integrates those changes into
the generator rather than into the files directly.
Reviewed-by: Roberto Raggi
Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/script/parser/qscriptparser.cpp')
-rw-r--r-- | src/script/parser/qscriptparser.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/script/parser/qscriptparser.cpp b/src/script/parser/qscriptparser.cpp index 197a486..5ea6c17 100644 --- a/src/script/parser/qscriptparser.cpp +++ b/src/script/parser/qscriptparser.cpp @@ -1,5 +1,3 @@ -// This file was generated by qlalr - DO NOT EDIT! - /**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). @@ -41,12 +39,13 @@ ** ****************************************************************************/ +// This file was generated by qlalr - DO NOT EDIT! + + #include <QtCore/QtDebug> #include <string.h> -#include "qscriptast_p.h" - #define Q_SCRIPT_UPDATE_POSITION(node, startloc, endloc) do { \ node->startLine = startloc.startLine; \ node->startColumn = startloc.startColumn; \ @@ -1136,9 +1135,9 @@ case 266: { error_message += QLatin1String (", "); first = false; - error_message += QLatin1Char('`'); + error_message += QLatin1String("`"); error_message += QLatin1String (spell [expected_tokens [s]]); - error_message += QLatin1Char('\''); + error_message += QLatin1String("'"); } } |