Emit boolean constants as numbers

This commit is contained in:
Alexey Andreev 2017-11-21 01:24:00 +03:00
parent c246bb6e1e
commit 1200354a7b

View File

@ -155,6 +155,8 @@ public class RenderingContext {
}
} else if (cst instanceof Character) {
return Integer.toString((Character) cst);
} else if (cst instanceof Boolean) {
return (Boolean) cst ? "1" : "0";
} else {
return cst.toString();
}