mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-17 09:20:28 +03:00
Meta: Un-escape escaped strings when generating Wasm tests
This commit is contained in:
parent
4060f18d7e
commit
f0e7e5bbe8
Notes:
sideshowbarker
2024-07-18 07:03:57 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/f0e7e5bbe88 Pull-request: https://github.com/SerenityOS/serenity/pull/9278
@ -69,7 +69,7 @@ def generate_module_source_for_compilation(entries):
|
||||
if type(entry) == tuple and len(entry) == 1 and type(entry[0]) == str:
|
||||
s += entry[0] + ' '
|
||||
elif type(entry) == str:
|
||||
s += json.dumps(entry) + ' '
|
||||
s += json.dumps(entry).replace('\\\\', '\\') + ' '
|
||||
elif type(entry) == list:
|
||||
s += generate_module_source_for_compilation(entry)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user