From e077be119bbc8270aa603724303a93ff8b426c34 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 29 Oct 2024 15:21:38 -0400 Subject: [PATCH] [ruby/json] Remove double semicolon at end of line in parser https://github.com/ruby/json/commit/f6d6ca3c17 --- ext/json/parser/parser.c | 2 +- ext/json/parser/parser.rl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/json/parser/parser.c b/ext/json/parser/parser.c index ce40ddd442..368d539bcd 100644 --- a/ext/json/parser/parser.c +++ b/ext/json/parser/parser.c @@ -1940,7 +1940,7 @@ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self) source = convert_encoding(StringValue(source)); StringValue(source); json->len = RSTRING_LEN(source); - json->source = RSTRING_PTR(source);; + json->source = RSTRING_PTR(source); json->Vsource = source; return self; } diff --git a/ext/json/parser/parser.rl b/ext/json/parser/parser.rl index 430f3c45b3..c627014593 100644 --- a/ext/json/parser/parser.rl +++ b/ext/json/parser/parser.rl @@ -835,7 +835,7 @@ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self) source = convert_encoding(StringValue(source)); StringValue(source); json->len = RSTRING_LEN(source); - json->source = RSTRING_PTR(source);; + json->source = RSTRING_PTR(source); json->Vsource = source; return self; }