Store in the document's macroUsages only the top-level macro expansions.

This commit is contained in:
Roberto Raggi
2009-10-15 16:24:15 +02:00
parent 48e7f20d86
commit f829ef899c
4 changed files with 10 additions and 22 deletions

View File

@@ -189,6 +189,15 @@ public:
: _begin(begin), _end(end)
{ }
inline bool isNull() const
{ return length() == 0; }
inline unsigned position() const
{ return _begin; }
inline unsigned length() const
{ return _end - _begin; }
inline unsigned begin() const
{ return _begin; }