summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2018-01-14 21:38:35 -0500
committerYong He <yonghe@outlook.com>2018-01-14 21:38:35 -0500
commit8e67c48eddfa0697ab03d52390c0f4b4b6366249 (patch)
treea87e114b32a533914ae79cc7813e6c3dd87ccd8f /source
parentd4dab2cd3a409411c2d7caed01fc02a0fd3e8450 (diff)
add support for `extension` and `type_param` keywords
Diffstat (limited to 'source')
-rw-r--r--source/slang/parser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/parser.cpp b/source/slang/parser.cpp
index 1378191ca..7e36b0e71 100644
--- a/source/slang/parser.cpp
+++ b/source/slang/parser.cpp
@@ -4242,10 +4242,12 @@ namespace Slang
DECL(typedef, ParseTypeDef);
DECL(associatedtype, parseAssocType);
DECL(__generic_param, parseGlobalGenericParamDecl);
+ DECL(type_param, parseGlobalGenericParamDecl);
DECL(cbuffer, parseHLSLCBufferDecl);
DECL(tbuffer, parseHLSLTBufferDecl);
DECL(__generic, ParseGenericDecl);
DECL(__extension, ParseExtensionDecl);
+ DECL(extension, ParseExtensionDecl);
DECL(__init, parseConstructorDecl);
DECL(__subscript, ParseSubscriptDecl);
DECL(interface, parseInterfaceDecl);