-
Notifications
You must be signed in to change notification settings - Fork 126
Fixed so namespaces syntax works on same lime as <?php #73
Conversation
|
Please add some specs to this. |
|
Added test for namespace on same line and on a separate line. |
grammars/php.cson
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be \\s* so that something like
<?php namespace superCoolNamespacewill work?
In addition, it looks like you can change that part to a non-capturing group, eg (?:^\\s*|\\s*) so that you don't have to change the capture group on L726.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to \\s* but it did work with \\s. Fixed so it's a non-capturing group.
…e-29 * 'issue-29' of github.com:frozzare/language-php: Fixed typo Added test for namespace on own line Added test for namespace on same line Fixed so namespaces syntax works on same lime as <?php
|
Looks like you accidentally included some changes from #72 into this PR-could you please remove them? |
|
Oops, sorry for that. Fixed now. |
Fixed so namespaces syntax works on same lime as <?php
|
Thanks for this! |
This pull request will fix #29