mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
'=' 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
This commit is contained in:
parent
3f113f51b9
commit
c741abe23f
@ -151,12 +151,7 @@ static GTokenType config_parse_symbol(CONFIG_REC *rec, CONFIG_NODE *node)
|
|||||||
(rec->scanner->token == G_TOKEN_STRING)) {
|
(rec->scanner->token == G_TOKEN_STRING)) {
|
||||||
key = g_strdup(rec->scanner->value.v_string);
|
key = g_strdup(rec->scanner->value.v_string);
|
||||||
|
|
||||||
config_parse_get_token(rec->scanner, node);
|
config_parse_warn_missing(rec, node, '=', TRUE);
|
||||||
if (rec->scanner->token != '=') {
|
|
||||||
g_free(key);
|
|
||||||
return (GTokenType) '=';
|
|
||||||
}
|
|
||||||
|
|
||||||
config_parse_get_token(rec->scanner, node);
|
config_parse_get_token(rec->scanner, node);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user