diff options
| author | Morten Sørvig <morten.sorvig@qt.io> | 2024-05-30 14:57:00 +0200 |
|---|---|---|
| committer | Morten Sørvig <morten.sorvig@qt.io> | 2024-06-18 17:55:32 +0200 |
| commit | a3ab79ec8cab51255b108646f475c5796448d1a1 (patch) | |
| tree | cf93e4b0123bdbe37ef8b96c286358791829aff4 /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | 1d612c5100a02d3d4f9b1caba3489e76ef6a81fe (diff) | |
wasm: prepend underscore for invalid EXPORT_NAMEs
JS identifiers may not start with a digit:
em++: error: EXPORT_NAME is not a valid JS identifier: `2dpainting_entry`
Change the regex to match leading digits as well (note it is
inverted).
Prepend an underscore instead of replacing the invalid character;
this makes sure we don't create new conflicts between for example
"2dpainting" and "3dpainting".
Pick-to: 6.8
Change-Id: If78a87e7ed352b88bc99aee7c5829facf1fc35a0
Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
