[TYPO3-core] RFC #4453: C style TypoScript comments with start and end in one line lead to errors

Xavier Perseguers typo3 at perseguers.ch
Fri Dec 17 23:38:23 CET 2010


Hi Steffen,

> as i already quoted - only complete lines are handled.
>
> What's about this simple solution stripping /* ... */ right before
> exploding?
> Sure, unused comment thing should be rempved then

I wonder whether it won't have a side effect on line numbering (for 
instance in case of error)...

Furthermore, you seem to use a single-line only preg_match, what about 
stripping (if first question is not a problem) multiple line comments 
with the same solution?

Xavier


More information about the TYPO3-team-core mailing list