Category:Smalltalk: Difference between revisions
Content added Content deleted
Line 283: | Line 283: | ||
<lang smalltalk>"/ an end-of-line comment can have comments here (dialect specific [1])</lang> |
<lang smalltalk>"/ an end-of-line comment can have comments here (dialect specific [1])</lang> |
||
<lang smalltalk>"<<TOK a token comment (dialect specific [1]) |
<lang smalltalk>"<<TOK a token comment (dialect specific [1]) |
||
... can have any comment |
|||
... or EOL comment here |
|||
... up to a line starting with TOK |
|||
TOK</lang> |
|||
1) these are not supported out-of-the-box by all dialects; however; since even the Parser is open for extension, it is trivial to add support to all systems, by changing the comment reader in the token scanner code. |
1) these are not supported out-of-the-box by all dialects; however; since even the Parser is open for extension, it is trivial to add support to all systems, by changing the comment reader in the token scanner code. |
||