Compiler/AST interpreter: Difference between revisions

m
Fix embedded // in string handling
m (More clarifications)
m (Fix embedded // in string handling)
Line 347:
 
while ((*p++ = *q++) != '\0') {
if (q[-1] == '\\' && q[0] == 'n') {
pif (q[-10] == '\n';) {
++q p[-1] = '\n';
++q;
} else if (q[0] == '\\') {
++q;
}
}
}
155

edits