#include <config.h>
#endif
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
#include "LSubstring.h"
LSubstring::LSubstring(string & s, LRegex const & r)
: ps(&s)
{
- LRegex::MatchPair res = r.first_match(s);
+ LRegex::MatchPair const res = r.first_match(s);
if (res.first != string::npos) {
n = res.second;
pos = res.first;