mirror of
https://github.com/servo/servo.git
synced 2025-06-11 10:00:18 +00:00
Fix minor misformatting in codegen.
This commit is contained in:
parent
d7cac61d9c
commit
0e83f5af00
1 changed files with 2 additions and 2 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue