summaryrefslogtreecommitdiff
path: root/src/lib-config
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2007-01-11 23:11:30 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2007-01-11 23:11:30 +0000
commitbcbadbb74f192ddb28b0437b0e1ceb16c5a51bbd (patch)
treeabcee194208eb0e53bf19ae00ffc7bbfe44f6a39 /src/lib-config
parent4c389186b5c8bc4823b01ff5a4fa92a91af69525 (diff)
downloadirssi-bcbadbb74f192ddb28b0437b0e1ceb16c5a51bbd.zip
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
Diffstat (limited to 'src/lib-config')
-rw-r--r--src/lib-config/parse.c1
1 files changed, 1 insertions, 0 deletions
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;