summaryrefslogtreecommitdiff
path: root/src/regex_impl.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-10-15 09:34:49 +0800
committerMaxime Coste <mawww@kakoune.org>2017-11-01 14:05:14 +0800
commit87eec79d07454352a8e063cb825c2817eb0a0db4 (patch)
treeda420263434a63286d91eeca1165db8acb358c2c /src/regex_impl.hh
parent8b2297f5cafcd413fdf7fbd774c464496717008d (diff)
Regex: comment the mutables in CompiledRegex::Instruction and fix their init
Diffstat (limited to 'src/regex_impl.hh')
-rw-r--r--src/regex_impl.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regex_impl.hh b/src/regex_impl.hh
index 27820605..664fb4f4 100644
--- a/src/regex_impl.hh
+++ b/src/regex_impl.hh
@@ -55,6 +55,7 @@ struct CompiledRegex : RefCountable, UseMemoryDomain<MemoryDomain::Regex>
struct Instruction
{
Op op;
+ // Those mutables are used during execution
mutable bool scheduled;
mutable uint16_t last_step;
uint32_t param;