summaryrefslogtreecommitdiff
path: root/gscanner.c
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-06-12 14:39:38 +0000
committerTim Janik <timj@src.gnome.org>1998-06-12 14:39:38 +0000
commit860af205b6ab132c77056089a194b95932d5306e (patch)
treeadc937fced9da266db2501a60ca0cc5bd0942491 /gscanner.c
parentdf9a49ec3cbb19e58be929548cfba12452c55d83 (diff)
downloadglib-860af205b6ab132c77056089a194b95932d5306e.tar.gz
cleanups of the structure fields (binary incompatible).
Fri Jun 12 15:39:06 1998 Tim Janik <timj@gtk.org> * glib.h (GScanner): cleanups of the structure fields (binary incompatible).
Diffstat (limited to 'gscanner.c')
-rw-r--r--gscanner.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gscanner.c b/gscanner.c
index ccb696053..41fcb4a2b 100644
--- a/gscanner.c
+++ b/gscanner.c
@@ -159,9 +159,10 @@ g_scanner_new (GScannerConfig *config_templ)
scanner = g_new0 (GScanner, 1);
scanner->user_data = NULL;
- scanner->input_name = NULL;
- scanner->parse_errors = 0;
scanner->max_parse_errors = 0;
+ scanner->parse_errors = 0;
+ scanner->input_name = NULL;
+ scanner->derived_data = NULL;
scanner->config = g_new0 (GScannerConfig, 1);
@@ -199,7 +200,7 @@ g_scanner_new (GScannerConfig *config_templ)
scanner->next_value.v_int = 0;
scanner->next_line = 1;
scanner->next_position = 0;
-
+
scanner->symbol_table = g_hash_table_new (g_str_hash, g_str_equal);
scanner->text = NULL;
scanner->text_len = 0;