Skip to content

Commit

Permalink
compilcode: Fix indentation in cleanmarks().
Browse files Browse the repository at this point in the history
  • Loading branch information
pfalcon committed Jul 18, 2015
1 parent dc5e33b commit 7b10251
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions compilecode.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,20 +197,20 @@ int re1_5_compilecode(ByteProg *prog, const char *re)
void
cleanmarks(ByteProg *prog)
{
char *pc = prog->insts;
char *end = pc + prog->bytelen;
while (pc < end) {
*pc &= 0x7f;
switch (*pc) {
case Jmp:
case Split:
case RSplit:
case Save:
case Char:
pc++;
}
pc++;
}
char *pc = prog->insts;
char *end = pc + prog->bytelen;
while (pc < end) {
*pc &= 0x7f;
switch (*pc) {
case Jmp:
case Split:
case RSplit:
case Save:
case Char:
pc++;
}
pc++;
}
}

#if 0
Expand Down

0 comments on commit 7b10251

Please sign in to comment.