Re: [PATCH, libcpp] Fix cpp_peek_token behaviour (PR bootstrap/50778)

2011-10-22 Thread Dodji Seketeli
Jason Merrill writes: > OK. Thanks. The bootstrap on powerpc-darwin completed successfully. I have just checked the patch in. -- Dodji

Re: [PATCH, libcpp] Fix cpp_peek_token behaviour (PR bootstrap/50778)

2011-10-22 Thread Jason Merrill
OK. Jason

[PATCH, libcpp] Fix cpp_peek_token behaviour (PR bootstrap/50778)

2011-10-21 Thread Dodji Seketeli
Hello, cpp_peek_token can fail to peek tokens sometimes because _cpp_remaining_tokens_num_in_context counts tokens only from the current context; worse, _cpp_token_from_context_at also get tokens only from the context context. They should both operate on the context given by cpp_peek_token. I di