Add continuation support for comma and backslash characters.

This commit is contained in:
Frederich Munch
2017-03-10 16:37:02 -05:00
committed by sftnight
parent 499b522de5
commit df4aea2fb0
3 changed files with 80 additions and 4 deletions

View File

@ -139,9 +139,6 @@ namespace cling {
Tok.startToken(curPos);
bool nextWasPunct = true;
while (true) {
if(*curPos == '\\')
curPos += 2;
// On comment skip until the eof token.
if (curPos[0] == '/' && curPos[1] == '/') {
while (*curPos != '\0' && *curPos != '\r' && *curPos != '\n')