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

#define only likes 1 whitespace #40

Closed
Wyqer opened this issue Oct 30, 2018 · 2 comments
Closed

#define only likes 1 whitespace #40

Wyqer opened this issue Oct 30, 2018 · 2 comments
Assignees
Labels

Comments

@Wyqer
Copy link

Wyqer commented Oct 30, 2018

I don't know how long this small issue persists, I just recognized it some days ago.
The preprocessor command #define is causing the linter to throw an error, when there is more than one whitespace after the command. Guess it's a small and easy fix. 🙂

// This shows errors in the linter
#define        bla        1

// this is fine
#define bla            1

// it doesn't accept more then one whitespace after #define

fine

notfine

notfinetooltip

@SkaceKamen
Copy link
Owner

Thanks for reporting this, the code right now doesn't count on more than one space.

The sqf preprocessor is bit of a mess right now, fixing it is my next priority.

@SkaceKamen SkaceKamen self-assigned this Oct 30, 2018
@SkaceKamen SkaceKamen added the bug label Oct 30, 2018
SkaceKamen added a commit that referenced this issue Nov 1, 2018
@SkaceKamen
Copy link
Owner

Fixed in 0.9.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants