1cb93a386Sopenharmony_ci# 64-bit Safety In the Compiler
2cb93a386Sopenharmony_ci
3cb93a386Sopenharmony_ciAn issue that has arisen recently for contributors making changes to the GLSL ES
4cb93a386Sopenharmony_cigrammar files has been that certain versions of flex, the lexer on which ANGLE
5cb93a386Sopenharmony_cirelies, produce outputs which are not safe in 64-bit builds.
6cb93a386Sopenharmony_ci
7cb93a386Sopenharmony_ciTo address this issue, ANGLE has added a step to its generation scripts to apply
8cb93a386Sopenharmony_ci64-bit safety fixes to newly regenerated outputs. This should be unnoticeable to
9cb93a386Sopenharmony_cidevelopers invoking flex via the generate\_parser.sh scripts in the relevant
10cb93a386Sopenharmony_cicompiler directories, as the fixes will be applied by the patch utility as part
11cb93a386Sopenharmony_ciof that script.
12cb93a386Sopenharmony_ci
13cb93a386Sopenharmony_ciWhen making code contributions that affect the grammar files, please ensure that
14cb93a386Sopenharmony_ciyou've generated the outputs using the script, to make certain that the 64-bit
15cb93a386Sopenharmony_cisafety fixes are applied.
16