mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-23 19:46:33 +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