martin-helmich / typo3-typoscript-lint

Find coding errors in your TypoScript files.
MIT License
82 stars 19 forks source link

False positive on comment after delete operator #33

Closed mbrodala closed 7 years ago

mbrodala commented 7 years ago

Given the following TypoScript:

foo > # Something

The linter shows the following error:

Parse error: Unexpected token RVALUE after delete operator (expected line break).

However, comments after the delete operator (although unusual) are perfectly fine.

martin-helmich commented 7 years ago

This is actually not an issue in the linter, but in the parser (which is a separate library). I migrated this report there.

mbrodala commented 7 years ago

You're right, thanks.