From 9193b3ed77b54ac46bde5af1de148a9e014daa6e Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 4 Feb 2013 20:10:02 +0000 Subject: Remove unnecessary file/line setting in parser --- Source/CParse/parser.y | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/CParse/parser.y b/Source/CParse/parser.y index c93f44cd0..36adf5a09 100644 --- a/Source/CParse/parser.y +++ b/Source/CParse/parser.y @@ -1158,8 +1158,6 @@ static Node *nested_forward_declaration(const char *storage, const char *kind, S if (sname) { /* Add forward declaration of the nested type */ Node *n = new_node("classforward"); - Setfile(n, cparse_file); - Setline(n, cparse_line); Setattr(n, "kind", kind); Setattr(n, "name", sname); Setattr(n, "storage", storage); @@ -3832,8 +3830,6 @@ cpp_forward_class_decl : storage_class cpptype idcolon SEMI { $$ = 0; } else { $$ = new_node("classforward"); - Setfile($$,cparse_file); - Setline($$,cparse_line); Setattr($$,"kind",$2); Setattr($$,"name",$3); Setattr($$,"sym:weak", "1"); -- cgit v1.2.1