[Uml-devel] branches/KDE/4.9/kdesdk/umbrello/umbrello/codeimport/kdevcppparser
Albert Astals Cid
tsdgeos at terra.es
Wed Jul 11 13:41:34 UTC 2012
SVN commit 1305290 by aacid:
Compile (bring code from trunk)
Ralf, be more careful, commiting non compiling code on a freeze day is uncool
CCMAIL: ralf.habacker at gmail.com
M +11 -0 position.h
--- branches/KDE/4.9/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/position.h #1305289:1305290
@@ -41,6 +41,7 @@
#include <boost/spirit/include/classic.hpp>
#include <QString>
#include <QChar>
+#include <QDebug>
typedef boost::spirit::classic::file_position_base<std::basic_string<QChar> > Position;
typedef std::basic_string<QChar> PositionFilename;
@@ -61,4 +62,14 @@
return !(p1 < p2);
}
+inline QDebug operator<<(QDebug out, Position const &p)
+{
+ out << "Position("
+ << "file" << p.file
+ << "line" << p.line
+ << "column" << p.column
+ << ")";
+ return out;
+}
+
#endif
More information about the umbrello-devel
mailing list