Allow anonymous classes in static mode #3780

Merged
merged 3 commits into from Sep 9, 2015

Conversation

Projects
None yet
2 participants
@JakubValtar
Contributor

JakubValtar commented Sep 9, 2015

catch: if they have a method in their body named setup or draw, mode is
always (sometimes incorrectly) detected as Active

Fixes #533

JakubValtar added some commits Sep 9, 2015

Allow anonymous classes in static mode
catch: if they have a method in their body named setup or draw, mode is
always (sometimes incorrectly) detected as Active

Fixes #533
Improve "void setup" regexp
Now captures multiple whitespace characters between "void" and "setup"

benfry added a commit that referenced this pull request Sep 9, 2015

@benfry benfry merged commit 2871fd6 into processing:master Sep 9, 2015

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Sep 9, 2015

Member

Happy to have this fixed; thank you.

Member

benfry commented Sep 9, 2015

Happy to have this fixed; thank you.

@JakubValtar JakubValtar deleted the JakubValtar:preproc-anonymous-classes branch Sep 22, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment