diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-01 09:18:50 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-03 13:22:14 +0200 |
| commit | dc894aa4dda125efc1b07ddfdea660893753c2f7 (patch) | |
| tree | 38b3f078ff592a9afdb101db7e30ba6ed507016e /sam.h | |
| parent | 907f4afb2ee7ee61cdbf01e8fa7bdfae2098dae2 (diff) | |
| download | vis-dc894aa4dda125efc1b07ddfdea660893753c2f7.tar.gz vis-dc894aa4dda125efc1b07ddfdea660893753c2f7.tar.xz | |
sam: more flexible parsing
Add infrastructure to handle commands which take file names,
shell commands or general white space delimited parameters
as arguments.
Diffstat (limited to 'sam.h')
| -rw-r--r-- | sam.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, }; |
