Skip to content

Fix formatting of #-only lines in herecomments #3979

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

Merged
merged 2 commits into from
May 13, 2015

Conversation

lydell
Copy link
Collaborator

@lydell lydell commented May 13, 2015

Before:

$ ./bin/coffee -bpe '###
> # paragraph 1
> #
> # paragraph 2
> ###'
/*
 * paragraph 1
#
 * paragraph 2
 */

After:

$ ./bin/coffee -bpe '###
# paragraph 1
#
# paragraph 2
###'
/*
 * paragraph 1
 *
 * paragraph 2
 */

This does not re-break #3638:

$ ./bin/coffee -bpe '###
> #/
> ###'
/*
#/
 */

lydell added 2 commits May 13, 2015 17:50
Before:

    $ ./bin/coffee -bpe '###
    > # paragraph 1
    > #
    > # paragraph 2
    > ###'
    /*
     * paragraph 1
    #
     * paragraph 2
     */

After:

    $ ./bin/coffee -bpe '###
    # paragraph 1
    #
    # paragraph 2
    ###'
    /*
     * paragraph 1
     *
     * paragraph 2
     */

This does not re-break jashkenas#3638:

    $ ./bin/coffee -bpe '###
    > #/
    > ###'
    /*
    #/
     */
michaelficarra added a commit that referenced this pull request May 13, 2015
 	Fix formatting of `#`-only lines in herecomments
@michaelficarra michaelficarra merged commit 769f02e into jashkenas:master May 13, 2015
@lydell lydell deleted the herecomments-formatting branch November 2, 2015 06:58
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