Commit 1219b31e authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Produce `join' tokens.

parent c4fdda5b
......@@ -739,6 +739,10 @@ void Preprocessor::preprocess(const QString &fileName, const QByteArray &source,
env->currentLine = 0;
while (true) {
if (_dot->joined)
out("\\");
processNewline();
if (_dot->is(T_EOF_SYMBOL)) {
......@@ -766,10 +770,7 @@ void Preprocessor::preprocess(const QString &fileName, const QByteArray &source,
} else {
if (_dot->joined)
out("\\\n");
else if (_dot->whitespace) {
if (_dot->whitespace) {
const unsigned endOfPreviousToken = (_dot - 1)->end();
const unsigned beginOfToken = _dot->begin();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment