From bcbadbb74f192ddb28b0437b0e1ceb16c5a51bbd Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Thu, 11 Jan 2007 23:11:30 +0000 Subject: Allow identifiers to start with a digit, bug #177. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4409 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/lib-config/parse.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib-config') diff --git a/src/lib-config/parse.c b/src/lib-config/parse.c index 02eb4255..474b007f 100644 --- a/src/lib-config/parse.c +++ b/src/lib-config/parse.c @@ -252,6 +252,7 @@ void config_parse_init(CONFIG_REC *rec, const char *name) rec->scanner = scanner = g_scanner_new(NULL); scanner->config->skip_comment_single = FALSE; + scanner->config->cset_identifier_first = G_CSET_a_2_z"_0123456789"G_CSET_A_2_Z; scanner->config->cset_skip_characters = " \t"; scanner->config->scan_binary = FALSE; scanner->config->scan_octal = FALSE; -- cgit v1.2.3