diff options
author | Timo Sirainen <cras@irssi.org> | 2000-08-26 15:39:44 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-08-26 15:39:44 +0000 |
commit | e395e87dedd9aa85f05e5c74330a76f1ef700371 (patch) | |
tree | 1184487b13038499f1771e4c553222f85b8524d2 /src/lib-config/parse.c | |
parent | 3d124da13b8da5c0b535abfe6265fc471d9d2ebd (diff) | |
download | irssi-e395e87dedd9aa85f05e5c74330a76f1ef700371.zip |
Lots of moving stuff around - hopefully I didn't break too much :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/lib-config/parse.c')
-rw-r--r-- | src/lib-config/parse.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib-config/parse.c b/src/lib-config/parse.c index ba5d9b34..05b76975 100644 --- a/src/lib-config/parse.c +++ b/src/lib-config/parse.c @@ -116,7 +116,8 @@ static void config_parse_peek_token(GScanner *scanner, CONFIG_NODE *node) } /* get optional token, optionally warn if it's missing */ -static void config_parse_warn_missing(CONFIG_REC *rec, CONFIG_NODE *node, int expected_token, int print_warning) +static void config_parse_warn_missing(CONFIG_REC *rec, CONFIG_NODE *node, + GTokenType expected_token, int print_warning) { config_parse_peek_token(rec->scanner, node); if (rec->scanner->next_token == expected_token) { @@ -128,7 +129,7 @@ static void config_parse_warn_missing(CONFIG_REC *rec, CONFIG_NODE *node, int ex g_scanner_warn(rec->scanner, "Warning: missing '%c'", expected_token); } -static void config_parse_loop(CONFIG_REC *rec, CONFIG_NODE *node, int expect); +static void config_parse_loop(CONFIG_REC *rec, CONFIG_NODE *node, GTokenType expect); static int config_parse_symbol(CONFIG_REC *rec, CONFIG_NODE *node) { @@ -215,7 +216,7 @@ static int config_parse_symbol(CONFIG_REC *rec, CONFIG_NODE *node) return G_TOKEN_NONE; } -static void config_parse_loop(CONFIG_REC *rec, CONFIG_NODE *node, int expect) +static void config_parse_loop(CONFIG_REC *rec, CONFIG_NODE *node, GTokenType expect) { int expected_token; |