Re: [libcpp PATCH] Use source_location where it is due

2011-07-15 Thread Tom Tromey
> "Dodji" == Dodji Seketeli writes: Dodji> libcpp/ Dodji> * directives.c (struct if_stack): Use source_location as type Dodji> here. Dodji> * include/cpplib.h (struct cpp_callbacks) indent, def_pragma, used_define, used_undef>: Properly use Dodji> source_location as parameter type, rathe

[libcpp PATCH] Use source_location where it is due

2011-07-15 Thread Dodji Seketeli
Hello, This is a [I believe obvious] cleanup patch that was done while looking at libcpp. It just uses the source_location typedef in some function declarations in lieu of unsigned int. Tested on x86_64-unknown-linux-gnu against trunk. libcpp/ * directives.c (struct if_stack): Use sourc