From dc894aa4dda125efc1b07ddfdea660893753c2f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 1 Apr 2016 09:18:50 +0200 Subject: sam: more flexible parsing Add infrastructure to handle commands which take file names, shell commands or general white space delimited parameters as arguments. --- sam.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sam.h') diff --git a/sam.h b/sam.h index fb4f314..6521834 100644 --- a/sam.h +++ b/sam.h @@ -11,6 +11,8 @@ enum SamError { SAM_ERR_UNMATCHED_BRACE, SAM_ERR_REGEX, SAM_ERR_TEXT, + SAM_ERR_SHELL, + SAM_ERR_FILENAME, SAM_ERR_COMMAND, SAM_ERR_EXECUTE, }; -- cgit v1.2.3