mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-11 21:03:05 +08:00
+ fix: interpretation of '%' operator: allow "(...)" on rhs of modulo interpretation
This commit is contained in:
parent
aefbad6e2a
commit
69ea45cc01
@ -147,8 +147,8 @@ static inline bool isNextCharNumber(const state* s)
|
||||
if (*ch == ' ') {
|
||||
++ch; continue;
|
||||
}
|
||||
// ASCII 0-9 -> [48,57]
|
||||
else if ((*ch > 47) && (*ch < 58)) {
|
||||
// ASCII 0-9 -> [48,57] or '('
|
||||
else if (((*ch > 47) && (*ch < 58)) || (*ch == 40)) {
|
||||
return true;
|
||||
}
|
||||
// no number
|
||||
|
||||
Loading…
Reference in New Issue
Block a user