1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 06:32:10 +02:00

Disable inactive code parsing after string literals, bug 281745.

This commit is contained in:
Markus Schorn 2009-06-29 16:14:27 +00:00
parent b59697f128
commit 4136ea67df

View file

@ -579,7 +579,10 @@ public class CPreprocessor implements ILexerLog, IScanner, IAdaptable {
appendStringContent(buf, t2);
endOffset= t2.getEndOffset();
continue loop;
case IToken.tINACTIVE_CODE_START:
// no support for inactive code after a string literal
skipInactiveCode();
continue loop;
default:
break loop;
}