aboutsummaryrefslogtreecommitdiff
path: root/gramar.y
diff options
context:
space:
mode:
Diffstat (limited to 'gramar.y')
-rw-r--r--gramar.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gramar.y b/gramar.y
index 853d486..829cffd 100644
--- a/gramar.y
+++ b/gramar.y
@@ -364,5 +364,5 @@ compile(FILE *fd, unsigned short *mem, size_t sz)
free(stack);
free(label);
- return haserrors;
+ return haserrors ? 0 : pc;
}