Replace TRUE/FALSE with boolean values true/false

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/27/head
Michele Calgaro 5 months ago
parent c5c8eb2be3
commit bb46657324
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -54,14 +54,14 @@
<HlCOct attribute="Octal" context="#stay"/>
<HlCHex attribute="Hex" context="#stay"/>
<Int attribute="Decimal" context="#stay" >
<StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="true"/>
<StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="true"/>
<StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="true"/>
<StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="true"/>
<StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="true"/>
<StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="true"/>
<StringDetect attribute="Decimal" context="#stay" String="U" insensitive="true"/>
<StringDetect attribute="Decimal" context="#stay" String="L" insensitive="true"/>
</Int>
<HlCChar attribute="Char" context="#stay"/>
<DetectChar attribute="String" context="String" char="&quot;"/>

@ -44,8 +44,8 @@
<keyword attribute="SFRS" context="#stay" String="sfrs"/>
<keyword attribute="Conditionnal" context="#stay" String="conditionnal"/>
<HlCHex attribute="Based Numbers" context="#stay"/>
<RegExpr attribute="Based Numbers" context="#stay" String="(0x_[0-9A-F]+)" insensitive="TRUE" />
<RegExpr attribute="Based Numbers" context="#stay" String="(0b_[_0-1]+)" insensitive="TRUE" />
<RegExpr attribute="Based Numbers" context="#stay" String="(0x_[0-9A-F]+)" insensitive="true" />
<RegExpr attribute="Based Numbers" context="#stay" String="(0b_[_0-1]+)" insensitive="true" />
<Int attribute="Non Based Numbers" context="#stay" />
<HlCChar attribute="Char" context="#stay"/>
<DetectChar attribute="String" context="string" char="&quot;"/>

@ -116,18 +116,18 @@ void addAsmContexts(TQTextStream &s)
s << " <keyword attribute=\"GPASM-macros\" context=\"#stay\" String=\"gpasm_macro\"/>" << endl;
s << endl;
s << " <HlCHex attribute=\"Based Numbers\" context=\"#stay\"/>" << endl;
s << " <RegExpr attribute=\"Based Numbers\" context=\"#stay\" String=\"[0-9A-F]+H($|\\s)\" insensitive=\"TRUE\" />" << endl;
s << " <RegExpr attribute=\"Based Numbers\" context=\"#stay\" String=\"[0-9]+D($|\\s)\" insensitive=\"TRUE\" />" << endl;
s << " <RegExpr attribute=\"Based Numbers\" context=\"#stay\" String=\"[0-7]+O($|\\s)\" insensitive=\"TRUE\" />" << endl;
s << " <RegExpr attribute=\"Based Numbers\" context=\"#stay\" String=\"[0-1]+B($|\\s)\" insensitive=\"TRUE\" />" << endl;
s << " <RegExpr attribute=\"Based Numbers\" context=\"#stay\" String=\"[0-9A-F]+H($|\\s)\" insensitive=\"true\" />" << endl;
s << " <RegExpr attribute=\"Based Numbers\" context=\"#stay\" String=\"[0-9]+D($|\\s)\" insensitive=\"true\" />" << endl;
s << " <RegExpr attribute=\"Based Numbers\" context=\"#stay\" String=\"[0-7]+O($|\\s)\" insensitive=\"true\" />" << endl;
s << " <RegExpr attribute=\"Based Numbers\" context=\"#stay\" String=\"[0-1]+B($|\\s)\" insensitive=\"true\" />" << endl;
s << " <RegExpr attribute=\"Non Based Numbers\" context=\"#stay\" String=\"\\.[0-9]+($|\\s)\" />" << endl;
s << " <RegExpr attribute=\"Non Based Numbers\" context=\"#stay\" String=\"[0-9]+($|\\s)\" />" << endl;
s << endl;
s << " <RegExpr attribute=\"Char\" context=\"#stay\" String=\"A'[^']+'\" insensitive=\"TRUE\" />" << endl;
s << " <RegExpr attribute=\"Based Numbers\" context=\"#stay\" String=\"B'[01]+'\" insensitive=\"TRUE\" />" << endl;
s << " <RegExpr attribute=\"Based Numbers\" context=\"#stay\" String=\"H'[0-9A-F]+'\" insensitive=\"TRUE\" />" << endl;
s << " <RegExpr attribute=\"Based Numbers\" context=\"#stay\" String=\"O'[0-7]+'\" insensitive=\"TRUE\" />" << endl;
s << " <RegExpr attribute=\"Non Based Numbers\" context=\"#stay\" String=\"D'[0-9]+'\" insensitive=\"TRUE\" />" << endl;
s << " <RegExpr attribute=\"Char\" context=\"#stay\" String=\"A'[^']+'\" insensitive=\"true\" />" << endl;
s << " <RegExpr attribute=\"Based Numbers\" context=\"#stay\" String=\"B'[01]+'\" insensitive=\"true\" />" << endl;
s << " <RegExpr attribute=\"Based Numbers\" context=\"#stay\" String=\"H'[0-9A-F]+'\" insensitive=\"true\" />" << endl;
s << " <RegExpr attribute=\"Based Numbers\" context=\"#stay\" String=\"O'[0-7]+'\" insensitive=\"true\" />" << endl;
s << " <RegExpr attribute=\"Non Based Numbers\" context=\"#stay\" String=\"D'[0-9]+'\" insensitive=\"true\" />" << endl;
s << endl;
s << " <DetectChar attribute=\"Destination\" context=\"#stay\" char=\"$\" />" << endl;
s << " <RegExpr attribute=\"Normal Text\" context=\"#stay\" String=\"[A-Za-z_.$][A-Za-z0-9_.$]*\" />" << endl;
@ -136,7 +136,7 @@ void addAsmContexts(TQTextStream &s)
s << " <DetectChar attribute=\"Comment\" context=\"comment\" char=\";\" />" << endl;
s << " <AnyChar attribute=\"Symbol\" context=\"#stay\" String=\"[-/*%+=&gt;&lt;&amp;|^!~]\" />" << endl;
s << " <RegExpr attribute=\"Symbol\" context=\"#stay\" String=\"(HIGH|LOW)\" />" << endl;
s << " <RegExpr attribute=\"Destination\" context=\"#stay\" String=\",\\s*[fw]\" insensitive=\"TRUE\" />" << endl;
s << " <RegExpr attribute=\"Destination\" context=\"#stay\" String=\",\\s*[fw]\" insensitive=\"true\" />" << endl;
s << " <RegExpr attribute=\"Preprocessor\" context=\"preprocessor\" String=\"(#include|#define|#undefine|#v)\" />" << endl;
s << " </context>" << endl;
s << " <context name=\"preprocessor\" attribute=\"Preprocessor\" lineEndContext=\"#pop\">" << endl;
@ -209,7 +209,7 @@ int main(int, char **)
(*s) << " <RegExpr attribute=\"Normal Text\" context=\"#stay\" String=\"^[0-9A-F]+\" />" << endl;
(*s) << " <keyword attribute=\"Instructions\" context=\"#stay\" String=\"instructions\"/>" << endl;
(*s) << " <HlCHex attribute=\"Based Numbers\" context=\"#stay\"/>" << endl;
(*s) << " <RegExpr attribute=\"Destination\" context=\"#stay\" String=\",\\s*[fw]\" insensitive=\"TRUE\" />" << endl;
(*s) << " <RegExpr attribute=\"Destination\" context=\"#stay\" String=\",\\s*[fw]\" insensitive=\"true\" />" << endl;
(*s) << " <RegExpr attribute=\"Preprocessor\" context=\"#pop\" String=\"^\\-\\-\\-\\s.+\\-\" lookAhead=\"true\"/>" << endl;
(*s) << " </context>" << endl;
(*s) << " <context name=\"asmline\" attribute=\"Normal Text\" lineEndContext=\"#pop\">" << endl;
@ -221,7 +221,7 @@ int main(int, char **)
(*s) << " <RegExpr attribute=\"Normal Text\" context=\"#stay\" String=\"^[0-9A-F]+\" />" << endl;
(*s) << " <keyword attribute=\"Instructions\" context=\"#stay\" String=\"instructions\"/>" << endl;
(*s) << " <HlCHex attribute=\"Based Numbers\" context=\"#stay\"/>" << endl;
(*s) << " <RegExpr attribute=\"Destination\" context=\"#stay\" String=\",\\s*[fw]\" insensitive=\"TRUE\" />" << endl;
(*s) << " <RegExpr attribute=\"Destination\" context=\"#stay\" String=\",\\s*[fw]\" insensitive=\"true\" />" << endl;
(*s) << " <RegExpr attribute=\"Preprocessor\" context=\"#pop\" String=\"^\\-\\-\\-\\s.+\\-\" lookAhead=\"true\"/>" << endl;
(*s) << " </context>" << endl;
(*s) << " <context name=\"cline\" attribute=\"Normal Text\" lineEndContext=\"#pop\">" << endl;

Loading…
Cancel
Save