sregex icon indicating copy to clipboard operation
sregex copied to clipboard

Misleading indentation – maybe a bug?

Open jirutka opened this issue 4 years ago • 0 comments
trafficstars

In file included from src/sregex/sre_vm_thompson_jit.c:16:
./dynasm/dasm_x86.h: In function 'dasm_put':
./dynasm/dasm_x86.h:207:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  207 |  if (*p++ == 1 && *p == DASM_DISP) mrm = n; continue;
      |  ^~
./dynasm/dasm_x86.h:207:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  207 |  if (*p++ == 1 && *p == DASM_DISP) mrm = n; continue;
      |                                             ^~~~~~~~

jirutka avatar Jan 07 '21 23:01 jirutka