Game Development Community

Multiline comments partially work

by Ben R Vesco · in Torque Game Engine · 01/10/2006 (9:30 pm) · 3 replies

Having a problem with multiline comments.

/*
 * this comment works
 */

/**
 * this comment causes
 * a syntax error to show up
 * in console.log and the .cs
 * will not compile to .dso
 */


As far as I can tell, it just won't accept a comment if it begins with /**

Update: Actually, sometimes it will actually finish compiling the file depending where the comment is, but it still always puts a syntax error in the console.log whether it finishes or not.

#1
03/07/2006 (2:15 pm)
When did TS get multiline comments, how neat!
#2
03/07/2006 (10:02 pm)
Came in with 1.4, except there is the problem listed above. Not hard to work around, but there it is.
#3
03/07/2006 (10:40 pm)
Yes, they must be the only things on the line actually from what I've been able to tell.