diff options
author | Kevin Funk <kevin.funk@kdab.com> | 2017-02-28 17:21:56 +0100 |
---|---|---|
committer | Kevin Funk <kevin.funk@kdab.com> | 2017-03-08 15:05:55 +0000 |
commit | 375bbcdd01f5afab2f9630d6b6c396145e5d6b00 (patch) | |
tree | 0cf22edb5e6c1655d6338ca9eb1318ae53a45af1 /src/tools/qlalr/lalr.g | |
parent | 8b9d246225dcd63900399297b0fd553918840bea (diff) |
qlalr: Fix and re-run qlalr on its own sources
So the generated files are up-to-date again.
Generated with:
qlalr --qt --no-lines --no-debug lalr.g
Change-Id: I3c4adb0083be7e66fed3db92c079493b574295aa
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/tools/qlalr/lalr.g')
-rw-r--r-- | src/tools/qlalr/lalr.g | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/qlalr/lalr.g b/src/tools/qlalr/lalr.g index 65a63f8312..52be7f1bc4 100644 --- a/src/tools/qlalr/lalr.g +++ b/src/tools/qlalr/lalr.g @@ -61,8 +61,7 @@ %start Specification -/: -/**************************************************************************** +/:/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ @@ -163,8 +162,7 @@ protected: }; :/ -/. -/**************************************************************************** +/./**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ @@ -344,7 +342,8 @@ int Recognizer::nextToken() text.clear (); if (! _M_no_lines) - text += QLatin1String ("\n#line ") + QString::number (_M_action_line) + " \"" + _M_input_file + "\"\n"; + text += QLatin1String("\n#line ") + QString::number(_M_action_line) + + QLatin1String(" \"") + _M_input_file + QLatin1String("\"\n"); inp (); // skip ':' forever @@ -381,7 +380,8 @@ int Recognizer::nextToken() text.clear (); if (! _M_no_lines) - text += QLatin1String ("\n#line ") + QString::number (_M_action_line) + " \"" + _M_input_file + "\"\n"; + text += QLatin1String("\n#line ") + QString::number(_M_action_line) + + QLatin1String(" \"") + _M_input_file + QLatin1String("\"\n"); inp (); // skip ':' |