• nathan's avatar
    treelang: · 6f823f90
    nathan authored
    	* Make-lang.in (treelang/tree1.o): Depends on input.h
    	(treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
    	* treelang.h: #include input.h.
    	(in_fname): Remove.
    	(struct token_part): Remove lineno, add location.
    	* lex.l (next_tree_lineno): Remove.
    	(update_lineno_charno): Adjust.
    	(dump_lex_value): Adjust.
    	* parse.y (variable_def, function_prototype, function, statement,
    	if_statement, return, function_invocation, variable_ref): Adjust.
    	(print_token, yyerror, ensure_not_void): Adjust.
    	tree1.c (in_fname): Remove.
    	(treelang_init): Setup input_location.
    	(lookup_tree_name): Adjust.
    	(insert_tree_name): Adjust.
    	* treetree.c (tree_code_if_start): Replace filename and lineno
    	parms with loc. Adjust.
    	(tree_code_if_else, tree_code_if_end,
    	tree_code_create_function_prototype,
    	tree_code_create_function_initial,
    	tree_code_create_function_wrapup, tree_code_create_variable,
    	tree_code_output_expression_statement): Likewise.
    	* treetree.h (tree_code_if_start): Replace filename and lineno
    	parms with loc.
    	(tree_code_if_else, tree_code_if_end,
    	tree_code_create_function_prototype,
    	tree_code_create_function_initial,
    	tree_code_create_function_wrapup, tree_code_create_variable,
    	tree_code_output_expression_statement): Likewise.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66519 138bc75d-0d04-0410-961f-82ee72b054a4
    6f823f90
treetree.h 2.92 KB