fix block comment

This commit is contained in:
木頭 2013-06-13 07:44:17 +08:00
parent 13187b0199
commit 183ec48308
1 changed files with 2 additions and 2 deletions

View File

@ -555,9 +555,9 @@ exports.Comment = class Comment extends Base
makeReturn: THIS
compileNode: (o, level) ->
code = "/*#{multident @comment, @tab}#{if '\n' in @comment then "\n#{@tab}" else ''}*/\n"
code = "/*#{multident @comment, @tab}#{if '\n' in @comment then "\n#{@tab}" else ''}*/"
code = o.indent + code if (level or o.level) is LEVEL_TOP
[@makeCode code]
[@makeCode "\n", @makeCode code]
#### Call