summaryrefslogtreecommitdiff
path: root/src/linguist/shared/qmakeparser.cpp
diff options
context:
space:
mode:
authorRichard Dale <richard.dale@codethink.co.uk>2013-07-04 09:57:04 +0100
committerRichard Dale <richard.dale@codethink.co.uk>2013-07-04 09:57:04 +0100
commit1369d91dd095cd4ea2febe759ef6446e41bd2d80 (patch)
tree656d71652bbb7de46fd9f5c969c31d43e2226a6e /src/linguist/shared/qmakeparser.cpp
parent1a7cc5018eb56a68756e1115fd0b0d1529e69f19 (diff)
parentd403785d9bc5ce27d1aa28ab68200a97a8bffcf5 (diff)
downloadqttools-1369d91dd095cd4ea2febe759ef6446e41bd2d80.tar.gz
Merge v5.1.0 releasebaserock/morph
Diffstat (limited to 'src/linguist/shared/qmakeparser.cpp')
-rw-r--r--src/linguist/shared/qmakeparser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/linguist/shared/qmakeparser.cpp b/src/linguist/shared/qmakeparser.cpp
index 93c7a54ab..d4e9e575d 100644
--- a/src/linguist/shared/qmakeparser.cpp
+++ b/src/linguist/shared/qmakeparser.cpp
@@ -298,12 +298,12 @@ bool QMakeParser::read(ProFile *pro, const QString &in, int line, SubGrammar gra
// Worst-case size calculations:
// - line marker adds 1 (2-nl) to 1st token of each line
// - empty assignment "A=":2 =>
- // TokHashLiteral(1) + hash(2) + len(1) + "A"(1) + TokAssign(1) +
- // TokValueTerminator(1) == 7 (8)
+ // TokHashLiteral(1) + hash(2) + len(1) + "A"(1) + TokAssign(1) + 0(1) +
+ // TokValueTerminator(1) == 8 (9)
// - non-empty assignment "A=B C":5 =>
- // TokHashLiteral(1) + hash(2) + len(1) + "A"(1) + TokAssign(1) +
+ // TokHashLiteral(1) + hash(2) + len(1) + "A"(1) + TokAssign(1) + 2(1) +
// TokLiteral(1) + len(1) + "B"(1) +
- // TokLiteral(1) + len(1) + "C"(1) + TokValueTerminator(1) == 13 (14)
+ // TokLiteral(1) + len(1) + "C"(1) + TokValueTerminator(1) == 14 (15)
// - variable expansion: "$$f":3 =>
// TokVariable(1) + hash(2) + len(1) + "f"(1) = 5
// - function expansion: "$$f()":5 =>