<feed xmlns='http://www.w3.org/2005/Atom'>
<title>scintilla-mirror/lexers/LexCPP.cxx, branch rel-3-20-0</title>
<subtitle>Git mirror of the Scintilla editor component. Referenced by the SciTECO repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/'/>
<entry>
<title>Backport: Hide implementation of EscapeSequence and use const. Add tests for escape</title>
<updated>2020-04-12T22:06:56+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2020-04-12T22:06:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=ce2e58dee5c0c77bf67eb51ba4f933c611dbd844'/>
<id>ce2e58dee5c0c77bf67eb51ba4f933c611dbd844</id>
<content type='text'>
sequences.

Backport of changeset 8144:ce9d95250569.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sequences.

Backport of changeset 8144:ce9d95250569.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport: Replace islower function and add tests for JavaScript regular expressions.</title>
<updated>2020-04-12T21:41:08+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2020-04-12T21:41:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=6a036ac8001e1a740fd28323ea22d6acfbd29877'/>
<id>6a036ac8001e1a740fd28323ea22d6acfbd29877</id>
<content type='text'>
Backport of changeset 8143:a5eb440dc1e2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Backport of changeset 8143:a5eb440dc1e2.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport: Use constexpr and noexcept, reduce headers and use C++ versions, harmonize types</title>
<updated>2020-04-12T21:12:32+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2020-04-12T21:12:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=45a093223eb08aed5bf0a85dbcf1b986f9750ee6'/>
<id>45a093223eb08aed5bf0a85dbcf1b986f9750ee6</id>
<content type='text'>
a bit.

Backport of changeset 8142:a823c9510148.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
a bit.

Backport of changeset 8142:a823c9510148.
</pre>
</div>
</content>
</entry>
<entry>
<title>More synchronizing LongTerm3 with default.</title>
<updated>2020-01-07T01:20:56+00:00</updated>
<author>
<name>mitchell</name>
<email>unknown</email>
</author>
<published>2020-01-07T01:20:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=f6e6731598a02121be850a17a12384090b40f1ac'/>
<id>f6e6731598a02121be850a17a12384090b40f1ac</id>
<content type='text'>
Ideally this covers anything missed during the backport process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ideally this covers anything missed during the backport process.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport: Define ILexerWithIdentity with methods for retrieving name, ID, and property values.</title>
<updated>2020-01-04T18:50:52+00:00</updated>
<author>
<name>mitchell</name>
<email>unknown</email>
</author>
<published>2020-01-04T18:50:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=215e051e588219ec41341a27bb87793732cccd88'/>
<id>215e051e588219ec41341a27bb87793732cccd88</id>
<content type='text'>
Implement ILexerWithIdentity on object lexers.
Implement ILexerWithIdentity on LexerSimple wrapper for function lexers.

Backport of changeset 7870:6ffcbd42288c, but with a new interface compatible
with ILexer, not ILexer5.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement ILexerWithIdentity on object lexers.
Implement ILexerWithIdentity on LexerSimple wrapper for function lexers.

Backport of changeset 7870:6ffcbd42288c, but with a new interface compatible
with ILexer, not ILexer5.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport: Simplified preprocessor conditional styling code, renamed 'active' to 'inactive'</title>
<updated>2019-03-23T10:52:04+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2019-03-23T10:52:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=22ae048c4396901c9c0381a258ddbbd065d1aec4'/>
<id>22ae048c4396901c9c0381a258ddbbd065d1aec4</id>
<content type='text'>
as that is more correct, added comments and helper methods, removed lines that
had no effect.
Behaviour unaltered.

Backport of changeset 7343:47c846cb9d17.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as that is more correct, added comments and helper methods, removed lines that
had no effect.
Behaviour unaltered.

Backport of changeset 7343:47c846cb9d17.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport: Fix warnings from MSVC Code Analysis.</title>
<updated>2019-03-22T21:50:32+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2019-03-22T21:50:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=de07b9abd6711d657c170de23871ddb5503a1011'/>
<id>de07b9abd6711d657c170de23871ddb5503a1011</id>
<content type='text'>
Backport of changeset 7328:521b1e23bfe2, but without C++17 std::size and
`SymbolValue() = default` instead of `SymbolValue() noexcept = default`, since
the latter causes a compile error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Backport of changeset 7328:521b1e23bfe2, but without C++17 std::size and
`SymbolValue() = default` instead of `SymbolValue() noexcept = default`, since
the latter causes a compile error.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport: Treat "#if(" as preprocessor directive "#if" followed by operator "(".</title>
<updated>2019-01-14T23:37:34+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2019-01-14T23:37:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=8a5808c87b93c49e1fca9b730b5e8558d4a55228'/>
<id>8a5808c87b93c49e1fca9b730b5e8558d4a55228</id>
<content type='text'>
Backport of changeset 7233:e08fe2381ca3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Backport of changeset 7233:e08fe2381ca3.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport: Bug [#2069]. LexerCPP: modernize int to std::string conversion</title>
<updated>2018-12-11T21:38:19+00:00</updated>
<author>
<name>Jannick</name>
<email>unknown</email>
</author>
<published>2018-12-11T21:38:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=197bc747b2561b3bd342d5426a2493246d488db1'/>
<id>197bc747b2561b3bd342d5426a2493246d488db1</id>
<content type='text'>
* LexCPP.cxx (LexerCPP::EvaluateTokens): Use std::to_string to convert
  int to std::string.

Backport of changeset 7185:bff457790150.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* LexCPP.cxx (LexerCPP::EvaluateTokens): Use std::to_string to convert
  int to std::string.

Backport of changeset 7185:bff457790150.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport: Bug [#2069]. LexCPP: fix bug in arithmetic calculation by adding precedence levels</title>
<updated>2018-12-11T21:38:19+00:00</updated>
<author>
<name>Jannick</name>
<email>unknown</email>
</author>
<published>2018-12-11T21:38:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=cb6e496d5fef85a7305db64e0874fdb0b78fd04b'/>
<id>cb6e496d5fef85a7305db64e0874fdb0b78fd04b</id>
<content type='text'>
The precedence for the implemented arithmetic operators +,-,%,*,/
is added, such that the calculations produce the correct results
honoring the standard precedence levels.

* Replace characterset setArithmeticOp by setAddOp and setMultOp.
* Replace precedence precArithmetic by precMult and precAdd
* (EvaluateTokens): Apply new precedences.

This fixes the bug in the arithmetic calculation:

// lines with 'false' should not be highlighted,
// those with 'true' should be.

#if 1 + 2 * 3 == 9
false
#endif

#if (1 + 2) * 3 == 9
true
#endif

#if 1 + 2 * 3 == 7
true
#endif

#if 1 == 5 % 2
true
#endif

#if 6 - 7 == -1
true
#endif

#if 25 / 5 * 5 == 25
true
#endif

#if 1 + 2 * 3 % 2 == 1
true
#endif

#if 1 + 2 * 3 % 2 == 2 + 1
false
#endif

Backport of changeset 7184:48861f53f719.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The precedence for the implemented arithmetic operators +,-,%,*,/
is added, such that the calculations produce the correct results
honoring the standard precedence levels.

* Replace characterset setArithmeticOp by setAddOp and setMultOp.
* Replace precedence precArithmetic by precMult and precAdd
* (EvaluateTokens): Apply new precedences.

This fixes the bug in the arithmetic calculation:

// lines with 'false' should not be highlighted,
// those with 'true' should be.

#if 1 + 2 * 3 == 9
false
#endif

#if (1 + 2) * 3 == 9
true
#endif

#if 1 + 2 * 3 == 7
true
#endif

#if 1 == 5 % 2
true
#endif

#if 6 - 7 == -1
true
#endif

#if 25 / 5 * 5 == 25
true
#endif

#if 1 + 2 * 3 % 2 == 1
true
#endif

#if 1 + 2 * 3 % 2 == 2 + 1
false
#endif

Backport of changeset 7184:48861f53f719.
</pre>
</div>
</content>
</entry>
</feed>
