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

Adds support for \* in REGEX_LINE_HEAD_CHAR.. #287

Merged
merged 1 commit into from
Nov 25, 2014
Merged

Adds support for \* in REGEX_LINE_HEAD_CHAR.. #287

merged 1 commit into from
Nov 25, 2014

Conversation

artsyca
Copy link
Contributor

@artsyca artsyca commented Nov 24, 2014

I've tweaked the regex to allow for more flexibility in coffeescript comments.
I'd really like to see this feature in the parser as it allows for easier interoperability with the Coffeescript syntax generated in Sublime Text using the DocBlockr plugin (https://github.com/spadgos/sublime-jsdocs)

One problem I'm having though is getting my test cases integrated. Any help with that would be very much appreciated.

Allows for the alternative coffeescript syntax:

  ###*
   *
   *
  ###
@yahoocla
Copy link

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! 😄

@artsyca
Copy link
Contributor Author

artsyca commented Nov 24, 2014

Added CLA. As noted I am not fully aware how testing is meant to be done but I have added a sample test file if anyone can help me write the appropriate test case.

@okuryu okuryu self-assigned this Nov 24, 2014
@yahoocla
Copy link

CLA is valid!

@okuryu
Copy link
Member

okuryu commented Nov 25, 2014

Thanks for your PR! It seems to need to tweak the parser tests (tests/parser_coffee.js). I'll try to do it after merge this. 👍

@okuryu okuryu merged commit cb8373d into yui:master Nov 25, 2014
@artsyca
Copy link
Contributor Author

artsyca commented Nov 25, 2014

Thanks!

okuryu added a commit to okuryu/yuidoc that referenced this pull request Nov 26, 2014
This tests changes is for PR yui#287.
@okuryu okuryu modified the milestone: v0.5.0 Dec 23, 2014
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.

3 participants