pandemonium_engine/modules
Kirill Diduk 1a231787b0 Check duplicate keys in dictionary literals: enums and const variables
Check identifiers (const variables and unnamed enums) and named
enums when parsing dictionary literals whether the keys are not
duplicated.

In case of duplicate key is encountered, highlight the line with it
and print error message:
`Duplicate key "foo" found in Dictionary literal`

This commit is a logical continuation of the commit dab73c7 which
implemented such checks only for literal keys (which fixed #7034).

Apart from that, this commit also fixes the issue with the error
message itself, which was shown one line below the duplicated key
in case it was the last one in the dictionary literal and there
was no hanging comma.

Also, the format of the error message has been changed so that now
the error message also contains the value of the key which is duplicated.
Instead of `Duplicate key found in Dictionary literal`, it now prints
`Duplicate key "<value>" found in Dictionary literal`

Fixes #50971
2024-04-14 16:37:55 +02:00
..
bmp File copyright header updates pt5. 2023-12-17 23:07:28 +01:00
broken_seals_module Re-extracted class docs. 2024-02-25 10:26:26 +01:00
cscript Added get_global_class_name method to Script. Now GDScriptParser uses this first to determine global class names, instead of parsing the script file again. 2024-02-13 20:09:46 +01:00
csg Re-extracted class docs. 2024-02-25 10:26:26 +01:00
database Re-extracted class docs. 2024-02-25 10:26:26 +01:00
database_sqlite Re-extracted class docs. 2024-02-25 10:26:26 +01:00
dds Fix grayscale dds loading 2023-12-20 22:41:09 +01:00
enet Re-extracted class docs. 2024-02-25 10:26:26 +01:00
entity_spell_system Re-extracted class docs. 2024-03-17 22:48:15 +01:00
fastnoise Re-extracted class docs. 2024-02-25 10:26:26 +01:00
freetype File copyright header updates pt6. 2023-12-17 23:21:54 +01:00
gdnative Backport locale selection improvements. 2024-04-06 12:37:02 +02:00
gdscript Check duplicate keys in dictionary literals: enums and const variables 2024-04-14 16:37:55 +02:00
gridmap Re-extracted class docs. 2024-02-25 10:26:26 +01:00
hdr File copyright header updates pt7. 2023-12-18 00:02:58 +01:00
http_server_simple Proper docs for WebServerSimple. 2024-03-10 10:24:16 +01:00
jpg File copyright header updates pt7. 2023-12-18 00:02:58 +01:00
jsonrpc Fix small formatting inconsistencies. 2024-03-01 16:25:19 +01:00
layered_tile_map Fix regression in LayeredTileMaps. 2024-04-09 13:52:02 +02:00
lz4 Re-extracted class docs. 2024-02-25 10:26:26 +01:00
material_maker Re-extracted class docs. 2024-02-25 10:26:26 +01:00
mbedtls File copyright header updates pt7. 2023-12-18 00:02:58 +01:00
mesh_data_resource Re-extracted class docs. 2024-02-25 10:26:26 +01:00
mesh_utils Re-extracted class docs. 2024-02-25 10:26:26 +01:00
minimp3 Re-extracted class docs. 2024-02-25 10:26:26 +01:00
navigation File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
navigation_dummy File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
navigation_geometry_parsers File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
navigation_mesh_generator File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
network_synchronizer Re-extracted class docs. 2024-02-25 10:26:26 +01:00
ogg File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
opensimplex Re-extracted class docs. 2024-02-25 10:26:26 +01:00
opus File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
paint Re-extracted class docs. 2024-02-25 10:26:26 +01:00
props Improved Light setup in PropInstance. 2024-03-18 09:12:02 +01:00
props_2d Re-extracted class docs. 2024-02-25 10:26:26 +01:00
pvr File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
regex Re-extracted class docs. 2024-02-25 10:26:26 +01:00
skeleton_2d Re-extracted class docs. 2024-02-25 10:26:26 +01:00
skeleton_3d Use internal process for updating a dirty skeleton instead of the MessageQueue. This fixes BoneAttachments being a frame late. 2024-04-11 22:23:47 +02:00
smtp Fix class link in the docs for SMTPClient. 2024-02-25 23:36:25 +01:00
squish File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
stb_vorbis Re-extracted class docs. 2024-02-25 10:26:26 +01:00
steering_ai Re-extracted class docs. 2024-02-25 10:26:26 +01:00
svg File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
terraman Added more properties to PropDataLight and other light helper classes. 2024-03-18 08:38:27 +01:00
terraman_2d Added more properties to PropDataLight and other light helper classes. 2024-03-18 08:38:27 +01:00
texture_packer Re-extracted class docs. 2024-02-25 10:26:26 +01:00
tga File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
theora Re-extracted class docs. 2024-02-25 10:26:26 +01:00
tile_map Small cleanup. 2024-03-01 10:29:48 +01:00
ui_extensions Re-extracted class docs. 2024-02-25 10:26:26 +01:00
unit_test Re-extracted class docs. 2024-02-25 10:26:26 +01:00
upnp Re-extracted class docs. 2024-02-25 10:26:26 +01:00
users Clang format everything. 2024-03-01 11:56:19 +01:00
vertex_lights_2d Added an icon for VertexLight2DEnvironment. 2024-03-27 11:52:43 +01:00
vertex_lights_3d Rename quadrants to octants in the vertex lights 3d module. 2024-03-27 16:13:58 +01:00
vhacd File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
vorbis File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
voxelman Added more properties to PropDataLight and other light helper classes. 2024-03-18 08:38:27 +01:00
web Re-extracted class docs. 2024-03-10 10:36:13 +01:00
websocket Re-extracted class docs. 2024-02-25 10:26:26 +01:00
wfc Re-extracted class docs. 2024-02-25 10:26:26 +01:00
modules_builders.py
register_module_types.h File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
SCsub Fix custom module paths for the editor builds. 2024-02-17 16:41:51 +01:00