GitHub user jwagenleitner opened a pull request:

    https://github.com/apache/groovy/pull/322

    GROOVY-7728 - LAX parser: Commenting out key/val pairs doesn't work

    Changed loop to process comments and end of object marker after processing
    key/values because skipWhitespace leaves the cursor on the first
    non-whitespace character and that character needs to be processed before
    the loop increments the index counter.  This same logic is used by
    JsonFastParser#decodeJsonObjectLazyFinalParse.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jwagenleitner/groovy GROOVY-7728

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/groovy/pull/322.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #322
    
----
commit af3800f4f6534e0771b624b7d8bc99bd2d0f6a93
Author: John Wagenleitner <jwagenleit...@apache.org>
Date:   2016-04-27T00:07:45Z

    GROOVY-7728 - LAX parser: Commenting out key/val pairs doesn't work
    
    Changed loop to process comments and end of object marker after processing
    key/values because skipWhitespace leaves the cursor on the first
    non-whitespace character and that character needs to be processed before
    the loop increments the index counter.  This same logic is used by
    JsonFastParser#decodeJsonObjectLazyFinalParse.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to