diff --git a/exercises/04/vslc/src/vslc.c b/exercises/04/vslc/src/vslc.c index 9ca271e..2c0967e 100644 --- a/exercises/04/vslc/src/vslc.c +++ b/exercises/04/vslc/src/vslc.c @@ -6,19 +6,19 @@ /* Global state */ -node_t *root; // Syntax tree -tlhash_t *global_names; // Symbol table -char **string_list; // List of strings in the source -size_t n_string_list = 8; // Initial string list capacity (grow on demand) -size_t stringc = 0; // Initial string count +node_t *root; // Syntax tree +tlhash_t *global_names; // Symbol table +char **string_list; // List of strings in the source +size_t n_string_list = 8; // Initial string list capacity (grow on demand) +size_t stringc = 0; // Initial string count /* Command line option parsing for the main function */ static void options ( int argc, char **argv ); bool - print_full_tree = false, - print_simplified_tree = false, + print_full_tree = false, + print_simplified_tree = false, print_symbol_table_contents = false, - new_print_style = true; + new_print_style = true; /* Entry point */ @@ -27,8 +27,8 @@ main ( int argc, char **argv ) { options ( argc, argv ); - yyparse(); // Generated from grammar/bison, constructs syntax tree - yylex_destroy(); // Free heap used by flex + yyparse(); // Generated from grammar/bison, constructs syntax tree + yylex_destroy(); // Free heap used by flex if ( print_full_tree ) print_syntax_tree (); @@ -36,7 +36,7 @@ main ( int argc, char **argv ) if ( print_simplified_tree ) print_syntax_tree (); - create_symbol_table (); // In ir.c + create_symbol_table (); // In ir.c if ( print_symbol_table_contents ) print_symbol_table();