Kaydet (Commit) bbdf56fc authored tarafından Colomban Wendling's avatar Colomban Wendling

Haxe: Do not track preprocessor for styling

We don't set the styles for inactive preprocessor sections, so we
should make sure they aren't used.  Also, Haxe has different
preprocessor directives than C does, which confuses LexCPP tracking
anyway.

Fixes #936.
üst 09796ef7
......@@ -7,6 +7,10 @@ primary=abstract break case catch class const continue trace do else enum extend
secondary=Bool Dynamic Float Int null Void Enum String
classes=Array ArrayAccess Class Date DateTools EReg Hash IntHash IntIter Iterable Iterator Lambda List Math Null Protected Reflect Std StringBuf StringTools Type UInt ValueType Xml XmlType
[lexer_properties]
# Haxe preprocessor has different directive than C, which the C lexer doesn't understand, so
# we explicitly need not track the preprocessor at all.
lexer.cpp.track.preprocessor=0
[settings]
# default extension used when saving files
......
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