Skip to content

Commit 567bbbc

Browse files
committed
[php] update grammar
1 parent 422ff19 commit 567bbbc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/php/syntaxes/php.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2071,7 +2071,7 @@
20712071
"patterns": [
20722072
{
20732073
"comment": "PHPDocumentor only recognises lines with an asterisk as the first non-whitespaces character",
2074-
"match": "^(?!\\s*\\*).*$\\n?",
2074+
"match": "^(?!\\s*\\*).*?(?:(?=\\*\\/)|$\\n?)",
20752075
"name": "invalid.illegal.missing-asterisk.phpdoc.php"
20762076
},
20772077
{
@@ -2975,5 +2975,5 @@
29752975
]
29762976
}
29772977
},
2978-
"version": "https://github.com/atom/language-php/commit/22047c19f52f686de471d0deccae0cb1332997b6"
2978+
"version": "https://github.com/atom/language-php/commit/c523a19f849b97f6499eae6accf80564aa190c0e"
29792979
}

0 commit comments

Comments
 (0)