aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/language/problem.grammar
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2024-01-31 17:10:28 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2024-01-31 18:45:13 +0100
commita2a92561f7b612b472b5b7e49a2d5ca86802092f (patch)
treeb5124c3936cfaba4d046cfc3f4676af5b940d19c /subprojects/frontend/src/language/problem.grammar
parentrefactor(language): module and node declarations (diff)
downloadrefinery-a2a92561f7b612b472b5b7e49a2d5ca86802092f.tar.gz
refinery-a2a92561f7b612b472b5b7e49a2d5ca86802092f.tar.zst
refinery-a2a92561f7b612b472b5b7e49a2d5ca86802092f.zip
feat(language): validate module isolation
Diffstat (limited to 'subprojects/frontend/src/language/problem.grammar')
-rw-r--r--subprojects/frontend/src/language/problem.grammar4
1 files changed, 2 insertions, 2 deletions
diff --git a/subprojects/frontend/src/language/problem.grammar b/subprojects/frontend/src/language/problem.grammar
index b08a9c36..ac451e7a 100644
--- a/subprojects/frontend/src/language/problem.grammar
+++ b/subprojects/frontend/src/language/problem.grammar
@@ -57,10 +57,10 @@ statement {
57 // RuleBody { ":" sep<OrOp, Conjunction> "==>" sep<OrOp, Consequent> "." } 57 // RuleBody { ":" sep<OrOp, Conjunction> "==>" sep<OrOp, Consequent> "." }
58 //} | 58 //} |
59 AtomDeclaration { 59 AtomDeclaration {
60 ckw<"atom"> sep<",", AtomNodeName> "." 60 kw<"declare">? ckw<"atom"> sep<",", AtomNodeName> "."
61 } | 61 } |
62 NodeDeclaration { 62 NodeDeclaration {
63 (ckw<"node"> | ckw<"multi">) sep<",", NodeName> "." 63 (kw<"declare"> | kw<"declare">? ckw<"multi">) sep<",", NodeName> "."
64 } | 64 } |
65 ScopeDeclaration { 65 ScopeDeclaration {
66 kw<"scope"> sep<",", ScopeElement> "." 66 kw<"scope"> sep<",", ScopeElement> "."