~mmach/netext73/webkit2gtk

« back to all changes in this revision

Viewing changes to Source/ThirdParty/ANGLE/src/compiler/preprocessor/generate_parser.py

  • Committer: mmach
  • Date: 2023-06-16 17:21:37 UTC
  • Revision ID: netbit73@gmail.com-20230616172137-2rqx6yr96ga9g3kp
1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python
 
2
# Copyright 2019 The ANGLE Project Authors. All rights reserved.
 
3
# Use of this source code is governed by a BSD-style license that can be
 
4
# found in the LICENSE file.
 
5
#
 
6
# generate_parser.py:
 
7
#   Generate lexer and parser for ANGLE's shader preprocessor.
 
8
 
 
9
import sys
 
10
 
 
11
sys.path.append('..')
 
12
import generate_parser_tools
 
13
 
 
14
basename = 'preprocessor'
 
15
 
 
16
 
 
17
def main():
 
18
    return generate_parser_tools.generate_parser(basename, False)
 
19
 
 
20
 
 
21
if __name__ == '__main__':
 
22
    sys.exit(main())