Fix minor misformatting in codegen.

This commit is contained in:
Ms2ger 2014-05-30 21:49:09 +02:00
parent d7cac61d9c
commit 0e83f5af00

View file

@ -2172,7 +2172,7 @@ class CGCallGenerator(CGThing):
call = CGWrapper(call, pre="%s::" % descriptorProvider.interface.identifier.name)
else:
call = CGWrapper(call, pre="(*%s)." % object)
call = CGList([call, CGWrapper(args, pre="(", post=");")])
call = CGList([call, CGWrapper(args, pre="(", post=")")])
self.cgRoot.append(CGList([
CGGeneric("let result: "),
@ -2194,7 +2194,7 @@ class CGCallGenerator(CGThing):
" Err(e) => {\n"
"%s"
" throw_dom_exception(cx, &*global, e);\n"
" return%s;"
" return%s;\n"
" },\n"
"};\n" % (glob, errorResult)))