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

Allow the lexer to return the original string #4

Closed
wants to merge 1 commit into from

Conversation

chx
Copy link

@chx chx commented Sep 16, 2013

Together with doctrine/annotations#14 allows for better annotation error reporting.

We need to store the input string because the preg_split throws away the patterns from getNonCatchablePatterns() including line breaks.

*
* @return string
*/
public function getOriginalUntilNow()
Copy link
Member

Choose a reason for hiding this comment

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

s/Now/Current (since the lexer is not tied to time)

@guilhermeblanco
Copy link
Member

Added support here: 57d5a02

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

Successfully merging this pull request may close these issues.

3 participants