martin-helmich/typo3-typoscript-parser

Tokenization errors thrown on INCLUDE_TYPOSCRIPT lines

julian-mair opened this issue · 1 comments

Output:

CHECKSTYLE REPORT
=> C:\Users\Julian Mair\_work\development\test\Configuration\TypoScript\constants.typoscript.
  25 Tokenization error: Cannot tokenize line "<INCLUDE_TYPOSCRIPT:source="FILE:EXT:test/Configuration/TypoScript/Constants/Language/_general.typoscript">"
[...]

Fix:

On line 39 of Tokenizer.php the + sign should be a *, because for includes a whitespace is not mandatory.

You're absolutely right, thanks for reporting this 👍. Fix incoming.