Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading indentation – maybe a bug? #31

Open
jirutka opened this issue Jan 7, 2021 · 0 comments
Open

Misleading indentation – maybe a bug? #31

jirutka opened this issue Jan 7, 2021 · 0 comments

Comments

@jirutka
Copy link

jirutka commented Jan 7, 2021

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 jirutka changed the title Misleading indentation – may a bug? Misleading indentation – maybe a bug? Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant