1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v.markused: support import json programs too

This commit is contained in:
Delyan Angelov 2021-07-27 12:36:40 +03:00
parent 6134c4870b
commit 6e0c9f637d
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -99,7 +99,17 @@ pub fn mark_used(mut table ast.Table, pref &pref.Preferences, ast_files []&ast.F
'65556.set',
'65556.set_unsafe',
// TODO: process the _vinit const initializations automatically too
'json__decode_string',
'json.decode_string',
'json.decode_int',
'json.decode_bool',
'json.decode_u64',
'json.encode_int',
'json.encode_string',
'json.encode_bool',
'json.encode_u64',
'json.json_print',
'json.json_parse',
'main.cb_propagate_test_error',
'os.getwd',
'os.init_os_args',
'os.init_os_args_wide',