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.

From-SVN: r176333
This commit is contained in:
Dodji Seketeli 2011-07-15 21:34:02 +00:00 committed by Dodji Seketeli
parent 6feeed065c
commit d0a9fbe16c
3 changed files with 16 additions and 8 deletions

View file

@ -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. */