From c90b7c38f1a54e1f6bc144bea76b976f7c126644 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 11 Jul 2022 11:50:08 +0100 Subject: Rename strings.Builder procedures to be consistent with the rest of the core library --- core/c/frontend/preprocessor/preprocess.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/c') diff --git a/core/c/frontend/preprocessor/preprocess.odin b/core/c/frontend/preprocessor/preprocess.odin index 1db3fafa3..4cfad2c1c 100644 --- a/core/c/frontend/preprocessor/preprocess.odin +++ b/core/c/frontend/preprocessor/preprocess.odin @@ -519,7 +519,7 @@ join_adjacent_string_literals :: proc(cpp: ^Preprocessor, initial_tok: ^Token) { quote_string :: proc(s: string) -> []byte { - b := strings.make_builder(0, len(s)+2) + b := strings.builder_make(0, len(s)+2) io.write_quoted_string(strings.to_writer(&b), s, '"') return b.buf[:] } -- cgit v1.2.3