o3de / o3de-azslc

Amazon Shader Language (AZSL) Compiler
Other
23 stars 14 forks source link

Fix usage of `exportKeywords.py` by using the correct flags #52

Closed martinwinter-huawei closed 2 years ago

martinwinter-huawei commented 2 years ago

Signed-off-by: Martin Winter martin.winter@huawei.com

The exportKeywords.py script can be used to generate a list of predefined types. The current state did not have a variable set (silent was not set but False passed directly) and the argument parser did not properly receive the --listpredefined flag, hence always crashed.