aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-11 03:51:16 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-11 03:51:16 +0100
commitd3f31b59b73a645235cedb4736371bc160af33b1 (patch)
treebceafe8adc19779bb37cc6645e99b63ac40751ef
parentmds-kbdc: for (diff)
downloadmds-d3f31b59b73a645235cedb4736371bc160af33b1.tar.gz
mds-d3f31b59b73a645235cedb4736371bc160af33b1.tar.bz2
mds-d3f31b59b73a645235cedb4736371bc160af33b1.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/mds-kbdc/make-tree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mds-kbdc/make-tree.c b/src/mds-kbdc/make-tree.c
index c3bdc81..908d681 100644
--- a/src/mds-kbdc/make-tree.c
+++ b/src/mds-kbdc/make-tree.c
@@ -601,8 +601,7 @@ int parse_to_tree(const char* restrict filename, mds_kbdc_tree_t** restrict resu
; /* TODO */
else
{
- /* TODO not a keyword if it contains special characters */
- NEW_ERROR(1, ERROR, "invalid keyword ‘%s’", line);
+ NEW_ERROR(1, ERROR, "invalid syntax ‘%s’", line);
}
next: