improved parser that preserves quoted commands.

This commit is contained in:
2026-03-04 16:55:18 +00:00
parent 4e58015411
commit a1556e38c8
6 changed files with 161 additions and 21 deletions

View File

@@ -20,5 +20,6 @@ char *kind_as_string(char *s, int kind, int n);
char *version_as_string(char *s, long v, int n);
bool is_comment(char *s);
struct quickcommand *command_in_quickcommands(const char *command, const struct quickcommand *quickcommands, int n);
bool add_quotes_if_needed(const char *command, char *output, size_t max_len);
#endif /* __UTIL_H__ */