summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2012-12-19 18:07:11 -0500
committerAdrian Thurston <thurston@complang.org>2012-12-19 18:07:11 -0500
commit97eef93ee9abfe10be71f873877e898d455146c6 (patch)
treeb165c07c58e3ee4fada4b06603b0df8785f986f1
parent82466231c6401bf490726f8a469b7139c6a37242 (diff)
downloadcolm-97eef93ee9abfe10be71f873877e898d455146c6.tar.gz
replaced namespace and context curlies with KW .. end
-rw-r--r--colm/lmparse.kl4
1 files changed, 2 insertions, 2 deletions
diff --git a/colm/lmparse.kl b/colm/lmparse.kl
index 28e981bc..4b3914fb 100644
--- a/colm/lmparse.kl
+++ b/colm/lmparse.kl
@@ -480,7 +480,7 @@ region_head:
};
namespace_def:
- namespace_head '{' root_item_list '}'
+ namespace_head root_item_list KW_End TK_Word
final {
namespaceStack.pop();
};
@@ -533,7 +533,7 @@ context_item_list:
;
context_def:
- context_head '{' context_item_list '}'
+ context_head context_item_list KW_End TK_Word
final {
contextStack.pop();
namespaceStack.pop();