mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-19 09:21:30 +03:00
Regex: print instruction index in dump_regex
This commit is contained in:
parent
c8966ca701
commit
fb5243f710
@ -820,8 +820,10 @@ private:
|
||||
|
||||
void dump_regex(const CompiledRegex& program)
|
||||
{
|
||||
int count = 0;
|
||||
for (auto& inst : program.instructions)
|
||||
{
|
||||
printf(" %03d ", count++);
|
||||
switch (inst.op)
|
||||
{
|
||||
case CompiledRegex::Literal:
|
||||
|
Loading…
Reference in New Issue
Block a user