Revision 733917
Go back to digest for 11th November 2007Features in Development Tools
Hamish Rodda committed changes in /trunk/KDE/kdevelop/languages/cpp:
Move responsibility for line,col generation from parser offsets from the parser to the preprocessor. This allows us to accurately generate line,col pairs even when macros are present on a line - thus, kdevelop knows the correct location of eg. a class declaration when there is an export macro preceeding it.
This is a fairly large change (duh) and although it works for me it may be a bit rocky for a while, send any bug reports directly to my email...
Also remove remnants of an embryonic error reporting system in the preprocessor (it was never used)
File Changes
Added 1 files
- /trunk/KDE/kdevelop/languages/cpp/parser/rpp/test/t011.cpp
Modified 28 files
- /trunk/KDE/kdevelop/languages/cpp
- /preprocessjob.cpp
- /cppduchain/cppeditorintegrator.cpp
- /cppduchain/expressionparser.cpp
- /cppduchain/expressionvisitor.cpp
- /parser/lexer.cpp
- /parser/lexer.h
- /parser/parser.cpp
- /parser/parser.h
- /parser/parsesession.cpp
- /parser/parsesession.h
- /tests/test_cppcodecompletion.cpp
- /tests/test_cppcodecompletion.h
- /cppduchain/tests/test_duchain.cpp
- /cppduchain/tests/test_expressionparser.cpp
- /parser/headergen/main.cpp
- /parser/rpp/CMakeLists.txt
- /parser/rpp/pp-engine.cpp
- /parser/rpp/pp-engine.h
- /parser/rpp/pp-environment.cpp
- /parser/rpp/pp-environment.h
- /parser/rpp/pp-location.cpp
- /parser/rpp/pp-location.h
- /parser/rpp/pp-macro-expander.cpp
- /parser/rpp/pp-scanner.cpp
- /parser/rpp/pp-stream.cpp
- /parser/rpp/pp-stream.h
- /parser/tests/test_parser.cpp
- /parser/rpp/tests/main.cpp
29 files changed in total