Skip to content

Feature list grammar#41

Open
SerafimArts wants to merge 2 commits intomarcioAlmada:masterfrom
SerafimArts:feature-list-grammar
Open

Feature list grammar#41
SerafimArts wants to merge 2 commits intomarcioAlmada:masterfrom
SerafimArts:feature-list-grammar

Conversation

@SerafimArts
Copy link
Copy Markdown
Contributor

Second argument of list() grammar method can be optional now. This feature adds the ability to specify duplicate fragments with a division by T_WHITESPACE (e.g "\n", "\s", etc...).

@marcioAlmada
Copy link
Copy Markdown
Owner

Hi!

I appreciate the pull request. It seems correct, but we need at least one test before merging. A good place to start is https://github.com/marcioAlmada/yay/blob/master/tests/ParserTest.php

👍

@marcioAlmada marcioAlmada force-pushed the master branch 2 times, most recently from a6a81a0 to 277f52c Compare June 26, 2018 11:53
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