Fix/refactor value handling: value strings are now parsed in ast_transformation and re-escaped in c_generator, and used raw in bytecode_generator
This commit is contained in:
@@ -108,6 +108,10 @@ obj string (Object, Serializable, Hashable) {
|
||||
data.construct();
|
||||
return this;
|
||||
}
|
||||
fun construct(ammt: int): *string {
|
||||
data.construct(ammt);
|
||||
return this;
|
||||
}
|
||||
fun construct(str: *char): *string {
|
||||
var len = 0
|
||||
while (str[len] != 0) len++
|
||||
|
||||
Reference in New Issue
Block a user