From 6a566b9cf5aa38f5f0d4e03c98c84e3a86961e9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 27 Nov 2016 21:09:44 +0100 Subject: sam: stricter command parsing Properly detect unbalanced curly braces and spurious output at the end of a group. --- sam.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sam.h') diff --git a/sam.h b/sam.h index de7e910..7d063f4 100644 --- a/sam.h +++ b/sam.h @@ -14,6 +14,7 @@ enum SamError { SAM_ERR_SHELL, SAM_ERR_COMMAND, SAM_ERR_EXECUTE, + SAM_ERR_NEWLINE, }; bool sam_init(Vis*); -- cgit v1.2.3