Skip to content

Misleading indentation – maybe a bug? #31

Open
@jirutka

Description

@jirutka
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;
      |                                             ^~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions