mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
gu_string_buf -> gu_new_string_buf in libgu
This commit is contained in:
@@ -350,7 +350,7 @@ pgf_expr_parser_token(PgfExprParser* parser)
|
||||
case '\'':
|
||||
pgf_expr_parser_getc(parser);
|
||||
|
||||
GuStringBuf* chars = gu_string_buf(parser->tmp_pool);
|
||||
GuStringBuf* chars = gu_new_string_buf(parser->tmp_pool);
|
||||
while (parser->ch != '\'' && parser->ch != EOF) {
|
||||
if (parser->ch == '\\') {
|
||||
pgf_expr_parser_getc(parser);
|
||||
@@ -366,7 +366,7 @@ pgf_expr_parser_token(PgfExprParser* parser)
|
||||
}
|
||||
break;
|
||||
default: {
|
||||
GuStringBuf* chars = gu_string_buf(parser->tmp_pool);
|
||||
GuStringBuf* chars = gu_new_string_buf(parser->tmp_pool);
|
||||
|
||||
if (pgf_is_ident_first(parser->ch)) {
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user