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:
e2c8c21
)
[flang] Remove unintended change.
author
Hongyon Suauthai
<hsuauthai@nvidia.com>
Fri, 1 Jun 2018 18:54:43 +0000
(11:54 -0700)
committer
Hongyon Suauthai
<hsuauthai@nvidia.com>
Fri, 1 Jun 2018 18:54:43 +0000
(11:54 -0700)
Original-commit: flang-compiler/f18@
a545cd5de4f16accf7862df0f9c895cede7b432f
Reviewed-on: https://github.com/flang-compiler/f18/pull/96
Tree-same-pre-rewrite: false
flang/lib/parser/grammar.h
patch
|
blob
|
history
diff --git
a/flang/lib/parser/grammar.h
b/flang/lib/parser/grammar.h
index
926c031
..
3eaf180
100644
(file)
--- a/
flang/lib/parser/grammar.h
+++ b/
flang/lib/parser/grammar.h
@@
-3246,7
+3246,7
@@
TYPE_CONTEXT_PARSER("statement function definition"_en_US,
// Directives, extensions, and deprecated statements
// !DIR$ IVDEP
// !DIR$ IGNORE_TKR [ [(tkr...)] name ]...
-constexpr auto beginDirective = skipEmptyLines >> space >> "!"_
tok
;
+constexpr auto beginDirective = skipEmptyLines >> space >> "!"_
ch
;
constexpr auto endDirective = space >> endOfLine;
constexpr auto ivdep = construct<CompilerDirective::IVDEP>("DIR$ IVDEP"_tok);
constexpr auto ignore_tkr = "DIR$ IGNORE_TKR" >>