Skip to content
Browse files

syntax.g: Changed 'AST_CODE' to 'AST_EXPR' where it made more sense.

  • Loading branch information...
1 parent f469658 commit 9dbd5935f238e395d6a8df62231442a4a64333a3 @orangea orangea committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/syntax.g
View
2 core/syntax.g
@@ -147,7 +147,7 @@ closure = t:table? b:block { $$ = PN_AST2(PROTO, t, b); }
table = table-start s:statements table-end { $$ = PN_AST(TABLE, s); }
block = block-start s:statements block-end { $$ = PN_AST(BLOCK, s); }
lick = lick-start i:lick-items lick-end { $$ = PN_AST(TABLE, i); }
-group = group-start s:statements group-end { $$ = PN_AST(CODE, s); }
+group = group-start s:statements group-end { $$ = PN_AST(EXPR, s); }
path = '/' < utfw+ > - { $$ = potion_str2(P, yytext, yyleng); }
message = < utfw+ '?'? > - { $$ = potion_str2(P, yytext, yyleng); }

0 comments on commit 9dbd593

Please sign in to comment.
Something went wrong with that request. Please try again.