Hash :
e47a67e4
Author :
Date :
2022-02-22T11:40:23
Update Python scripts to run with Python 3 * Updated the scripts used in run_code_generation.py so they could be run with Python 3 with no errors. Bug: angleproject:5707 Change-Id: Iad7ff61a34ce53b6d54821cdd53ee846dc4afc3c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3482156 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
#!/usr/bin/python3
# Copyright 2019 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# generate_parser.py:
# Generate lexer and parser for ANGLE's translator.
import sys
sys.path.append('..')
import generate_parser_tools
basename = 'glslang'
def main():
return generate_parser_tools.generate_parser(basename, True)
if __name__ == '__main__':
sys.exit(main())