[TYPO3-german] Vorsicht mit /*** ***/ Kommentaren in einer Zeile

Ralf Hettinger ng at ralfhettinger.de
Wed Nov 1 13:58:42 CET 2006


Naja.

Einen Bugreport für eine Syntax die eben nicht so aussieht wie die CSS-Syntax
(TS ist eben kein CSS) finde ich irgendwie nur bedingt sinnvoll.


TS-Kommentare sehen eben so aus, das ist dokumentiert:

Quelle:
http://typo3.org/documentation/document-library/core-documentation/doc_core_ts/current/view/1/2/

"
Comments: When a line starts with "/" or "#"
...then it's considered a comment which means the line is totally ignored.

Example:
// This is a comment
/ This is also a comment (only ONE slash is needed)
myObject = HTML
myObject.value = <BLINK> HTML - code </BLINK>
# This line is also a comment.

Comment blocks: When a line starts with "/*" or  "*/"
... it defines the beginning or the end of a comment section respectively.
Anything within a comment section is ignored.

Rules:
   1. /* and */ MUST be the very first characters of a trimmed line in order to
be detected.
   2. Comments are not detected inside a multiline value parenthesis.
"


mabuse - schrieb:
> Hi Andreas,
> 
> Bug ist submitted.
> 
> Beispiel
> 
> 
> page.10.subparts {
>     menu < lib.mainmenu
> 
> /****** CONTENT ******/
> 
>     content < styles.content.get
> 
> 
> 
> content wird nicht geparst.
> 
> Grüße
> Markus



More information about the TYPO3-german mailing list