diff options
| author | Yong He <yonghe@outlook.com> | 2024-02-21 13:59:30 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 13:59:30 -0800 |
| commit | 0b46715bff7f047fefed303ae149d3de8eb6be4f (patch) | |
| tree | 3254b6d8fb97926f2c8831e344606a5f6dcfa97e /source/slang/slang-ast-expr.h | |
| parent | 255ecf7993cc69d38525af7e711c24fae6f94ba5 (diff) | |
Fix parsing of literals in stdlib. (#3610)
* Fix parsing of literals in stdlib.
* Fix double lit limits.
Diffstat (limited to 'source/slang/slang-ast-expr.h')
| -rw-r--r-- | source/slang/slang-ast-expr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-ast-expr.h b/source/slang/slang-ast-expr.h index 9f2cd22a9..9a7993937 100644 --- a/source/slang/slang-ast-expr.h +++ b/source/slang/slang-ast-expr.h @@ -79,6 +79,7 @@ class LiteralExpr : public Expr // The token that was used to express the literal. This can be // used to get the raw text of the literal, including any suffix. Token token; + BaseType suffixType = BaseType::Void; }; class IntegerLiteralExpr : public LiteralExpr |
