summaryrefslogtreecommitdiff
path: root/prism
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2023-10-18 15:19:31 -0400
committergit <[email protected]>2023-10-18 19:19:38 +0000
commit6873f96abc2a924b264b6ed3818b2fe9cbf05d6c (patch)
tree4b82eba0bced5a92f7836c376c5bbd2c096fdc27 /prism
parent4b909bdbaeaec1725cb3ce4007d361dc0e477d27 (diff)
[ruby/prism] Bump to version 0.15.1
https://github.com/ruby/prism/commit/d906a8ceba
Diffstat (limited to 'prism')
-rw-r--r--prism/extension.h2
-rw-r--r--prism/templates/lib/prism/serialize.rb.erb2
-rw-r--r--prism/util/pm_constant_pool.c2
-rw-r--r--prism/version.h4
4 files changed, 5 insertions, 5 deletions
diff --git a/prism/extension.h b/prism/extension.h
index e246e72a76..e881d89b8e 100644
--- a/prism/extension.h
+++ b/prism/extension.h
@@ -1,7 +1,7 @@
#ifndef PRISM_EXT_NODE_H
#define PRISM_EXT_NODE_H
-#define EXPECTED_PRISM_VERSION "0.15.0"
+#define EXPECTED_PRISM_VERSION "0.15.1"
#include <ruby.h>
#include <ruby/encoding.h>
diff --git a/prism/templates/lib/prism/serialize.rb.erb b/prism/templates/lib/prism/serialize.rb.erb
index 6b29a39848..2dda111d35 100644
--- a/prism/templates/lib/prism/serialize.rb.erb
+++ b/prism/templates/lib/prism/serialize.rb.erb
@@ -15,7 +15,7 @@ module Prism
module Serialize
MAJOR_VERSION = 0
MINOR_VERSION = 15
- PATCH_VERSION = 0
+ PATCH_VERSION = 1
def self.load(input, serialized)
input = input.dup
diff --git a/prism/util/pm_constant_pool.c b/prism/util/pm_constant_pool.c
index 63dd86a8d2..8ed97c86a3 100644
--- a/prism/util/pm_constant_pool.c
+++ b/prism/util/pm_constant_pool.c
@@ -197,7 +197,7 @@ pm_constant_pool_insert(pm_constant_pool_t *pool, const uint8_t *start, size_t l
// constant and replace it with the shared constant.
free((void *) constant->start);
constant->start = start;
- bucket->type = PM_CONSTANT_POOL_BUCKET_DEFAULT;
+ bucket->type = (unsigned int) (PM_CONSTANT_POOL_BUCKET_DEFAULT & 0x3);
}
return bucket->id;
diff --git a/prism/version.h b/prism/version.h
index 78ebfcf26a..55ed5da703 100644
--- a/prism/version.h
+++ b/prism/version.h
@@ -1,4 +1,4 @@
#define PRISM_VERSION_MAJOR 0
#define PRISM_VERSION_MINOR 15
-#define PRISM_VERSION_PATCH 0
-#define PRISM_VERSION "0.15.0"
+#define PRISM_VERSION_PATCH 1
+#define PRISM_VERSION "0.15.1"