disabled escape sequences in script strings (doesn't work with Windows paths)

actorid
Marc Zinnschlag 15 years ago
parent b94e09e030
commit 0d4f2ab3ef

@ -316,14 +316,15 @@ namespace Compiler
name += c;
break;
}
else if (c=='\\')
{
if (!get (c))
{
mErrorHandler.error ("incomplete escape sequence", mLoc);
break;
}
}
// ignoring escape sequences for now, because they are messing up stupid Windows path names.
// else if (c=='\\')
// {
// if (!get (c))
// {
// mErrorHandler.error ("incomplete escape sequence", mLoc);
// break;
// }
// }
else if (c=='\n')
{
mErrorHandler.error ("incomplete string or name", mLoc);
@ -513,4 +514,3 @@ namespace Compiler
mPutbackLoc = loc;
}
}

Loading…
Cancel
Save