projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bca5d0
)
[flang] Fix macro definitions (broken by provenances earlier).
author
peter klausler
<pklausler@nvidia.com>
Mon, 12 Feb 2018 21:26:32 +0000
(13:26 -0800)
committer
GitHub
<noreply@github.com>
Thu, 15 Feb 2018 23:58:44 +0000
(15:58 -0800)
Original-commit: flang-compiler/f18@
3ed548b477e50f3a803b5e6fad05069351c37612
Reviewed-on: https://github.com/flang-compiler/f18/pull/9
Tree-same-pre-rewrite: false
flang/lib/parser/preprocessor.cc
patch
|
blob
|
history
diff --git
a/flang/lib/parser/preprocessor.cc
b/flang/lib/parser/preprocessor.cc
index
7f4132a
..
4b703cb
100644
(file)
--- a/
flang/lib/parser/preprocessor.cc
+++ b/
flang/lib/parser/preprocessor.cc
@@
-167,7
+167,7
@@
TokenSequence Definition::Tokenize(const std::vector<std::string> &argNames,
continue;
}
}
- result.Put(token, j, 1);
+ result.Put(token,
firstToken +
j, 1);
}
return result;
}