summaryrefslogtreecommitdiff
path: root/parse/tok.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-09-17 13:48:46 -0400
committerOri Bernstein <ori@eigenstate.org>2014-09-17 13:48:46 -0400
commitd2a198f1959af5023bbc893fe396bb2f08262a61 (patch)
tree8b582e627e48b1024f0d046db9d5bc3fd7efd5be /parse/tok.c
parent7c284022867d6a453b72e90235c8a86ce13fcccc (diff)
downloadmc-d2a198f1959af5023bbc893fe396bb2f08262a61.tar.gz
Add support for 'pkglocal' keyword.
pkglocal makes the export only available within the package.
Diffstat (limited to 'parse/tok.c')
-rw-r--r--parse/tok.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse/tok.c b/parse/tok.c
index 61481d3..fc29ce1 100644
--- a/parse/tok.c
+++ b/parse/tok.c
@@ -180,6 +180,7 @@ static int kwd(char *s)
{"in", Tin},
{"match", Tmatch},
{"pkg", Tpkg},
+ {"pkglocal", Tpkglocal},
{"protect", Tprotect},
{"sizeof", Tsizeof},
{"struct", Tstruct},