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

Remove unused FLAGS aliases #7752

Merged
merged 1 commit into from
Jan 24, 2018
Merged

Remove unused FLAGS aliases #7752

merged 1 commit into from
Jan 24, 2018

Conversation

wilzbach
Copy link
Member

They are only used once below. We can even use with to make it look nicer.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @wilzbach!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

@wilzbach wilzbach added this to In progress in Conversion to D enums via automation Jan 19, 2018
@JinShil JinShil added the Refactoring No semantic changes to code label Jan 19, 2018
src/dmd/lexer.d Outdated
@@ -1988,9 +1983,10 @@ class Lexer
if (base == 8 && n >= 8)
error("octal literals `0%llo%.*s` are no longer supported, use `std.conv.octal!%llo%.*s` instead", n, p - psuffix, psuffix, n, p - psuffix, psuffix);
TOK result;
with(FLAGS)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather not start using with.

Copy link
Member

@WalterBright WalterBright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No with

@wilzbach
Copy link
Member Author

(removed `with)

@PetarKirov PetarKirov dismissed WalterBright’s stale review January 24, 2018 08:25

Requested changes were made.

@wilzbach wilzbach closed this Jan 24, 2018
Conversion to D enums automation moved this from In progress to Done Jan 24, 2018
@wilzbach wilzbach reopened this Jan 24, 2018
Conversion to D enums automation moved this from Done to In progress Jan 24, 2018
@wilzbach
Copy link
Member Author

Argh Jenkins seems to be losing PRs more and more frequently :/

@dlang-bot dlang-bot merged commit a26ac24 into dlang:master Jan 24, 2018
Conversion to D enums automation moved this from In progress to Done Jan 24, 2018
@wilzbach wilzbach deleted the remove-unused branch March 13, 2018 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Easy Review Refactoring No semantic changes to code
Projects
No open projects
5 participants