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.
This commit is contained in:
parent
09796ef727
commit
bbdf56fc2e
@ -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
|
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
|
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]
|
[settings]
|
||||||
# default extension used when saving files
|
# default extension used when saving files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user