fix(script/gen_tokens_cpp): automatically generated header
This commit is contained in:
parent
c60f11ab05
commit
358afcf42c
3 changed files with 4 additions and 4 deletions
|
@ -47,7 +47,7 @@ def main(argv=None):
|
|||
with open(hfile, 'w') as f:
|
||||
f.write('// Copyright (c) 2015 Microsoft Corporation. All rights reserved.\n')
|
||||
f.write('// Released under Apache 2.0 license as described in the file LICENSE.\n')
|
||||
f.write('// DO NOT EDIT, automatically generated file, generator scripts/gen_constants_cpp.py\n')
|
||||
f.write('// DO NOT EDIT, automatically generated file, generator scripts/get_tokens_cpp.py\n')
|
||||
f.write('#include "util/name.h"\n')
|
||||
f.write('namespace lean {\n')
|
||||
f.write('void initialize_tokens();\n')
|
||||
|
@ -58,7 +58,7 @@ def main(argv=None):
|
|||
with open(cppfile, 'w') as f:
|
||||
f.write('// Copyright (c) 2015 Microsoft Corporation. All rights reserved.\n')
|
||||
f.write('// Released under Apache 2.0 license as described in the file LICENSE.\n')
|
||||
f.write('// DO NOT EDIT, automatically generated file, generator scripts/gen_constants_cpp.py\n')
|
||||
f.write('// DO NOT EDIT, automatically generated file, generator scripts/gen_tokens_cpp.py\n')
|
||||
f.write('#include "util/name.h"\n')
|
||||
f.write('namespace lean{\n')
|
||||
# declare constants
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
|
||||
// Released under Apache 2.0 license as described in the file LICENSE.
|
||||
// DO NOT EDIT, automatically generated file, generator scripts/gen_constants_cpp.py
|
||||
// DO NOT EDIT, automatically generated file, generator scripts/gen_tokens_cpp.py
|
||||
#include "util/name.h"
|
||||
namespace lean{
|
||||
name const * g_period_tk = nullptr;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
|
||||
// Released under Apache 2.0 license as described in the file LICENSE.
|
||||
// DO NOT EDIT, automatically generated file, generator scripts/gen_constants_cpp.py
|
||||
// DO NOT EDIT, automatically generated file, generator scripts/get_tokens_cpp.py
|
||||
#include "util/name.h"
|
||||
namespace lean {
|
||||
void initialize_tokens();
|
||||
|
|
Loading…
Reference in a new issue