Bug 892559. Don't use #pragma once in example codegen. r=smaug

This commit is contained in:
Boris Zbarsky 2013-07-12 10:37:23 -04:00
Родитель f82dba7419
Коммит cbdfd1f33c
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -9123,8 +9123,8 @@ class CGExampleRoot(CGThing):
"mozilla/dom/%sBinding.h" % interfaceName,
"nsContentUtils.h" ], "", self.root);
# In the header, #pragma once before everything
self.root = CGWrapper(self.root, declarePre="#pragma once\n\n")
# And now some include guards
self.root = CGIncludeGuard(interfaceName, self.root)
# And our license block comes before everything else
self.root = CGWrapper(self.root, pre="""/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */