diff options
Diffstat (limited to '')
-rw-r--r-- | src/mds-kbdc/make-tree.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mds-kbdc/make-tree.c b/src/mds-kbdc/make-tree.c index e749a7f..e807df2 100644 --- a/src/mds-kbdc/make-tree.c +++ b/src/mds-kbdc/make-tree.c @@ -753,6 +753,10 @@ int parse_to_tree(const char* restrict filename, mds_kbdc_tree_t** restrict resu } else if (strchr("\"<([", *line) || strchr(line, '(')) ; /* TODO */ + else if (strchr("}", *line)) + { + NEW_ERROR(1, ERROR, "runaway ‘%c’", *line); + } else { NEW_ERROR(1, ERROR, "invalid syntax ‘%s’", line); |