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

Fix error when building with Clang #2

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Conversation

wezm
Copy link

@wezm wezm commented Aug 2, 2023

Building scanner.c with clang fails with this error:

src/scanner.c:134:9: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
  const in_string = state->in_quotes || state->in_backticks;
  ~~~~~ ^
  int
1 error generated.

This PR fixes the error

@jaredramirez jaredramirez merged commit 467dcf9 into jaredramirez:main Nov 2, 2023
@jaredramirez
Copy link
Owner

Thanks for this!

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