diff options
author | Alex <hypothermia.frost@gmail.com> | 2013-09-30 14:47:52 +0100 |
---|---|---|
committer | Alex <hypothermia.frost@gmail.com> | 2013-09-30 14:47:52 +0100 |
commit | b7d9aab80c1c2412579b05a5803dd534e6d36b85 (patch) | |
tree | a2bc78272c21161ae3f1609eed785f373ec44cf8 /include | |
parent | 79ea4947d137f6fd0a74df353fcfc313303d3bd0 (diff) | |
download | flang-b7d9aab80c1c2412579b05a5803dd534e6d36b85.tar.gz |
fixed Token::isLiteral
Diffstat (limited to 'include')
-rw-r--r-- | include/flang/Basic/Token.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/flang/Basic/Token.h b/include/flang/Basic/Token.h index 2dcd9d7a1e..8b474a3368 100644 --- a/include/flang/Basic/Token.h +++ b/include/flang/Basic/Token.h @@ -86,6 +86,7 @@ public: /// string, etc. bool isLiteral() const { return is(tok::int_literal_constant)|| is(tok::real_literal_constant) + || is(tok::double_precision_literal_constant) || is(tok::statement_label) || is(tok::char_literal_constant) || is(tok::binary_boz_constant) || is(tok::octal_boz_constant) || is(tok::hex_boz_constant) || is(tok::defined_operator) |