aboutsummaryrefslogtreecommitdiff
path: root/src/parser.y
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-10-20 22:47:03 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-10-23 18:25:23 +0300
commit4cf7c8bacfc836cff5278317cb32dc029cb87273 (patch)
tree58d30dca3fe413c146fd0020abf8796606030db5 /src/parser.y
parentc5babf57de94a9a5e35c4bbb1237f3bffd15456c (diff)
downloadlyn-4cf7c8bacfc836cff5278317cb32dc029cb87273.tar.gz
lyn-4cf7c8bacfc836cff5278317cb32dc029cb87273.zip
play around with guile as a backend
+ I have officially devolved my language into an alternative syntax for Scheme. Oh well.
Diffstat (limited to 'src/parser.y')
-rw-r--r--src/parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.y b/src/parser.y
index 742bc5f..7b49eb8 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -164,6 +164,7 @@ cmds
input
: cmds {$1.kind = LYN_GROUP; parser->tree = $1;}
+ | error {parser->failed = true;}
%%