Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Caused by conflict with [feature-requests:#1299].
|
|
|
|
|
|
These contain "-" like "custom-tag".
|
|
|
|
|
|
|
|
tag instead of the end.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
as continuing the string.
|
|
|
|
|
|
|
|
|
|
|
|
by explicitly implementing the operator=.
|
|
|
|
LexHaskell as it will be needed for CharacterCategory additions.
|
|
as that is more correct, added comments and helper methods, removed lines that
had no effect.
Behaviour unaltered.
|
|
|
|
Improvements for SCE_NIM_NUMBER.
|
|
|
|
Adds property 'lexer.nim.raw.strings.highlight.ident'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nullptr, constexpr, noexcept.
|
|
Cppcheck shows some whole-file errors as line -1.
|
|
|
|
* LexCPP.cxx (LexerCPP::EvaluateTokens): Use std::to_string to convert
int to std::string.
|
|
levels
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
|
|
the logical line.
|
|
|
|
desription from LexCPP.cxx takes precedence.
|
|
sets of keywords and SCI_PROPERTYNAMES.
|
|
- Removed 0c/0C prefix in IsNumOctal(). Not supported.
- Added upper-case type suffixes in SCE_NIM_NUMBER. They are case-insensitive.
|
|
|