This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch NLPCRAFT-206
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-206 by this push:
     new 8fa9649  WIP.
8fa9649 is described below

commit 8fa9649b1a283fbb751c1061111f86bff6c4050e
Author: Aaron Radzinski <[email protected]>
AuthorDate: Mon Mar 15 12:36:42 2021 -0700

    WIP.
---
 .../org/apache/nlpcraft/model/intent/compiler/NCDslCompiler.scala      | 2 +-
 .../org/apache/nlpcraft/model/intent/compiler/antlr4/NCIntentDsl.g4    | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCDslCompiler.scala
 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCDslCompiler.scala
index 26e8487..b1caa38 100644
--- 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCDslCompiler.scala
+++ 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCDslCompiler.scala
@@ -111,7 +111,7 @@ object NCDslCompiler extends LazyLogging {
         override def exitIntentId(ctx: IDP.IntentIdContext): Unit =  intentId 
= ctx.id().getText
         override def exitAlias(ctx: IDP.AliasContext): Unit = alias = 
ctx.id().getText
     
-        override def enterParamList(ctx: IDP.ParamListContext): Unit =
+        override def enterCallExpr(ctx: IDP.CallExprContext): Unit =
             instrs += ((_, stack: NCDslStack, _) ⇒ stack.push(stack.MARKER))
     
         /**
diff --git 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/antlr4/NCIntentDsl.g4
 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/antlr4/NCIntentDsl.g4
index b88085c..2a0129f 100644
--- 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/antlr4/NCIntentDsl.g4
+++ 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/antlr4/NCIntentDsl.g4
@@ -43,8 +43,7 @@ flowDecl: 'flow' ASSIGN (qstring | mtdDecl);
 metaDecl: 'meta' ASSIGN jsonObj;
 jsonObj
     : LBRACE jsonPair (COMMA jsonPair)* RBRACE
-    |
-     LBRACE RBRACE
+    | LBRACE RBRACE
     ;
 jsonPair: qstring COLON jsonVal;
 jsonVal

Reply via email to