summaryrefslogtreecommitdiff
path: root/libcpp/directives.c
diff options
context:
space:
mode:
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-15 21:34:02 +0000
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-15 21:34:02 +0000
commitc219ee5c4c1c65df286c6dd6eca52d10ad1dec5a (patch)
tree8e55847d83bb45140b1baa1cd4d7e29a872315ab /libcpp/directives.c
parenta73132763a2de2a1fc390e4d4837e1a2e2128969 (diff)
downloadgcc-c219ee5c4c1c65df286c6dd6eca52d10ad1dec5a.tar.gz
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)<include, define, undef, indent, def_pragma, used_define, used_undef>: Properly use source_location as parameter type, rather than unsigned int. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176333 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/directives.c')
-rw-r--r--libcpp/directives.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/directives.c b/libcpp/directives.c
index 85e941ed49c..83d4a0e8d7f 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. */