summaryrefslogtreecommitdiff
path: root/src/lib-config
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-02-06 21:42:58 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-02-06 21:42:58 +0000
commitc741abe23f470fb973ce1b3672a0a9c8c0adc271 (patch)
tree4e194555642be277e855dcfd224f9e5ffc9254df /src/lib-config
parent3f113f51b9eb0cd84535e5f57cd62bdf6c71c257 (diff)
downloadirssi-c741abe23f470fb973ce1b3672a0a9c8c0adc271.zip
'=' isn't really necessary, warn if it's missing but don't fail without
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1185 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/lib-config')
-rw-r--r--src/lib-config/parse.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib-config/parse.c b/src/lib-config/parse.c
index a173151c..883a920b 100644
--- a/src/lib-config/parse.c
+++ b/src/lib-config/parse.c
@@ -151,12 +151,7 @@ static GTokenType config_parse_symbol(CONFIG_REC *rec, CONFIG_NODE *node)
(rec->scanner->token == G_TOKEN_STRING)) {
key = g_strdup(rec->scanner->value.v_string);
- config_parse_get_token(rec->scanner, node);
- if (rec->scanner->token != '=') {
- g_free(key);
- return (GTokenType) '=';
- }
-
+ config_parse_warn_missing(rec, node, '=', TRUE);
config_parse_get_token(rec->scanner, node);
}