summaryrefslogtreecommitdiffstats
path: root/source/slang/parser.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-06-27 11:13:21 -0700
committerGitHub <noreply@github.com>2017-06-27 11:13:21 -0700
commit97f253189af41f117e2de17093904cbb45202d46 (patch)
tree5d58272d219064234c6e90d7271caef5e118a77d /source/slang/parser.cpp
parent1716208fb62a7f0a8bbe55e597b582066cb51731 (diff)
parent31293d61d3ec80198eab2439ec937d7ba37f6722 (diff)
Merge pull request #46 from tfoleyNV/import-exported
Allow for re-export of an `import` declaration
Diffstat (limited to 'source/slang/parser.cpp')
-rw-r--r--source/slang/parser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/parser.cpp b/source/slang/parser.cpp
index 8edc3a122..1d843c821 100644
--- a/source/slang/parser.cpp
+++ b/source/slang/parser.cpp
@@ -619,6 +619,9 @@ namespace Slang
CASE(__prefix, PrefixModifier);
CASE(__postfix, PostfixModifier);
+ // Modifier to apply to `import` that should be re-exported
+ CASE(__exported, ExportedModifier);
+
#undef CASE
else if (AdvanceIf(parser, "__intrinsic_op"))