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

Address 'misleading indentation' warning #831

Closed
wants to merge 1 commit into from

Conversation

sjmulder
Copy link
Contributor

$ uname -a
OpenBSD openbsd.joosts-fw13 7.3 GENERIC.MP#1125 amd64

$ cc --version
OpenBSD clang version 13.0.0
Target: amd64-unknown-openbsd7.3
Thread model: posix
InstalledDir: /usr/bin

lex.c:270:25: warning: misleading indentation; statement is not part of the previous 'while' [-Wmisleading-indentation]
                        if (isalpha(*p) || *p == '_') {
                        ^
lex.c:268:21: note: previous statement is here
                    while (isdigit(*++p))
                    ^

$ uname -a
OpenBSD openbsd.joosts-fw13 7.3 GENERIC.MP#1125 amd64

$ cc --version
OpenBSD clang version 13.0.0
Target: amd64-unknown-openbsd7.3
Thread model: posix
InstalledDir: /usr/bin

lex.c:270:25: warning: misleading indentation; statement is not part of the previous 'while' [-Wmisleading-indentation]
                        if (isalpha(*p) || *p == '_') {
                        ^
lex.c:268:21: note: previous statement is here
                    while (isdigit(*++p))
                    ^
@andmarti1424
Copy link
Owner

@sjmulder Merged. Thank you.

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

Successfully merging this pull request may close these issues.

2 participants