summaryrefslogtreecommitdiff
path: root/parser_st.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser_st.c')
-rw-r--r--parser_st.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/parser_st.c b/parser_st.c
index 17f669e763..77d9df702e 100644
--- a/parser_st.c
+++ b/parser_st.c
@@ -80,6 +80,12 @@ nonempty_memcpy(void *dest, const void *src, size_t n)
#define st_init_table_with_size rb_parser_st_init_table_with_size
#undef st_init_existing_table_with_size
#define st_init_existing_table_with_size rb_parser_st_init_existing_table_with_size
+#undef st_init_existing_strtable_with_size
+#define st_init_existing_strtable_with_size rb_parser_st_init_existing_strtable_with_size
+#undef st_init_existing_numtable_with_size
+#define st_init_existing_numtable_with_size rb_parser_st_init_existing_numtable_with_size
+#undef st_free_embedded_table
+#define st_free_embedded_table rb_parser_st_free_embedded_table
#undef st_insert
#define st_insert rb_parser_st_insert
#undef st_lookup
@@ -154,7 +160,8 @@ nonempty_memcpy(void *dest, const void *src, size_t n)
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wattributes\"") \
__attribute__((__no_sanitize__(x))) y; \
- _Pragma("GCC diagnostic pop")
+ _Pragma("GCC diagnostic pop") \
+ y
#endif
#ifndef NO_SANITIZE