+ if ( cur >= pos + len ) // check if we've overstepped the current source-fragment
+ {
+// wxASSERT(0); // DBG:: with current imp. this should not happen
+ wxFAIL_MSG("Overstepped the current source fragment in function\nspInterFileContext::DoAppendSourceFragment()");
+ cur = pos + len; break;
+ }
+ }
+
+ result.append( source, cur, ( pos + len ) - cur );