1
0
forked from 0ad/0ad
0ad/source
Dunedan 53e00e1953 Remove contrib JS-lexer and use upstream one
As we depend on Babel for i18n tooling nowadays, we can also use its
maintained JavaScript-lexer, instead of the one forked from an old
version of Babel.

Doing so reduces the amount of code we have to maintain, adds new
functionality (like properly handling hexadecimal unicode notations) and
fixes some regex related incompatibilities which makes generating
portable object templates possible with recent Python versions.

The use of `tokenize(…, dotted=False)` is necessary, as we use this
lexer for C++ code as well and detection of most strings in C++ code
fails otherwise. As dotted names weren't supported by version of the
lexer we used until now, this isn't a regression.

Patch by: @Dunedan
Accepted by: @Stan
Differential Revision: https://code.wildfiregames.com/D5293
This was SVN commit r28124.
2024-06-23 19:04:07 +00:00
..
collada Fix build with libxml2 v2.12.1 2023-12-13 19:42:00 +00:00
graphics Adds proper IBuffer usage instead of dynamic flag. 2024-06-10 19:31:41 +00:00
gui Rename the "color" property of COlist columns to "textcolor" 2024-06-22 20:18:09 +00:00
i18n Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
lib Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
lobby Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
maths Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
mocks Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
network Delete FSM.cpp forgotten in 3a5ad160f7 2024-05-05 06:04:22 +00:00
pch Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ps Use templates instead of macros to restrict access to the VFS 2024-04-13 17:12:47 +00:00
renderer Fixes zero usage for Vulkan upload buffer after b9fd6f18f0. 2024-06-14 22:05:32 +00:00
rlinterface Shutdown mongoose in rl-interface gracefully 2024-06-23 17:26:03 +00:00
scriptinterface Allow to use a generator as MapGenerator 2024-05-22 15:52:12 +00:00
simulation2 Turn the FLOODFILL macro in to a function 2024-05-12 06:13:47 +00:00
soundmanager Don't check memory allocation made using new 2024-01-21 14:29:30 +00:00
third_party Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
tools Remove contrib JS-lexer and use upstream one 2024-06-23 19:04:07 +00:00
main.cpp Split the Shutdown function 2024-03-24 12:45:27 +00:00
test_setup.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00