diff options
Diffstat (limited to 'source/slang/syntax.h')
| -rw-r--r-- | source/slang/syntax.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h index 5eb62462e..7a1701b88 100644 --- a/source/slang/syntax.h +++ b/source/slang/syntax.h @@ -1917,7 +1917,10 @@ namespace Slang public: enum class ConstantType { - Int, Bool, Float + Int, + Bool, + Float, + String, }; ConstantType ConstType; union @@ -1925,6 +1928,7 @@ namespace Slang int IntValue; FloatingPointLiteralValue FloatValue; }; + String stringValue; virtual RefPtr<SyntaxNode> Accept(SyntaxVisitor * visitor) override; }; |
