From d0a9fbe16c999748339a5fe77da8e6687337d0e0 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Fri, 15 Jul 2011 21:34:02 +0000 Subject: Use source_location where it is due libcpp/ * directives.c (struct if_stack): Use source_location as type here. * include/cpplib.h (struct cpp_callbacks): Properly use source_location as parameter type, rather than unsigned int. From-SVN: r176333 --- libcpp/directives.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcpp/directives.c') diff --git a/libcpp/directives.c b/libcpp/directives.c index 85e941e..83d4a0e 100644 --- a/libcpp/directives.c +++ b/libcpp/directives.c @@ -32,7 +32,7 @@ along with this program; see the file COPYING3. If not see struct if_stack { struct if_stack *next; - linenum_type line; /* Line where condition started. */ + source_location line; /* Line where condition started. */ const cpp_hashnode *mi_cmacro;/* macro name for #ifndef around entire file */ bool skip_elses; /* Can future #else / #elif be skipped? */ bool was_skipping; /* If were skipping on entry. */ -- cgit v1.1