diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-12-27 09:38:56 -0800 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-02-09 05:12:43 -0800 |
commit | fad027fb0ce019f31b20861c37e802d4e29e6931 (patch) | |
tree | e3902c7e91ae84ae187a454a14fdba0b6929fe3f /src/util/translation.h | |
parent | 75fb37ce68289eb7e00e2ccdd2ef7f9271332545 (diff) |
scripted-diff: Add missing spaces in RPCResult, Fix type names
This makes the rendered diff smaller when the RPCResult is machine
generated later on
-BEGIN VERIFY SCRIPT-
# Add space after dictionary key and before colon
sed -i --regexp-extended -e 's/(^ +" +\\"[a-zA-Z_]+\\"): ?/\1 : /g' $(git grep -l '\\":')
# Rename (array) to (json array)
sed -i -e 's/ (array) / (json array) /g' $(git grep -l '(array)' ./src)
# Rename (object) to (json object)
sed -i -e 's/ (object) / (json object) /g' $(git grep -l '(object)' ./src)
# Rename (bool) to (boolean)
sed -i -e 's/ (bool) / (boolean) /g' $(git grep -l '(bool)' ./src)
# Rename (int) to (numeric)
sed -i -e 's/ (int) / (numeric) /g' $(git grep -l '(int)' ./src)
-END VERIFY SCRIPT-
Diffstat (limited to 'src/util/translation.h')
0 files changed, 0 insertions, 0 deletions