diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-06-29 14:16:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-29 14:16:38 -0700 |
| commit | b2b08679a32506d629df84730f36639dab9f9593 (patch) | |
| tree | e9aad4ff9a6111d828ae2e4b217dc8145cda56dd /source/slang/parser.cpp | |
| parent | 16613ed981fc5dc38966f5108e85b1aee36ef92f (diff) | |
| parent | f4d900dfb64d95f121dd8565dd269be061ef8509 (diff) | |
Merge pull request #51 from tfoleyNV/refptr-string-cleanup
Overhaul `RefPtr` and `String`
Diffstat (limited to 'source/slang/parser.cpp')
| -rw-r--r-- | source/slang/parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/parser.cpp b/source/slang/parser.cpp index cd839415f..4f622ada6 100644 --- a/source/slang/parser.cpp +++ b/source/slang/parser.cpp @@ -3277,7 +3277,7 @@ namespace Slang constExpr->ConstType = ConstantExpressionSyntaxNode::ConstantType::Int; constExpr->integerValue = value; - constExpr->Type = suffixType; + constExpr->Type = QualType(suffixType); return constExpr; } @@ -3346,7 +3346,7 @@ namespace Slang constExpr->ConstType = ConstantExpressionSyntaxNode::ConstantType::Float; constExpr->floatingPointValue = value; - constExpr->Type = suffixType; + constExpr->Type = QualType(suffixType); return constExpr; } |
