Skip to content

Commit

Permalink
Fallback rb_warn_deprecated for UNIVERSAL_PARSER
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed Dec 7, 2023
1 parent 5458252 commit 680be88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parse.y
Expand Up @@ -44,6 +44,8 @@
#define rb_str_coderange_scan_restartable p->config->str_coderange_scan_restartable
#endif

#define rb_warn_deprecated(fmt, suggest) rb_warn0(fmt " is deprecated; use " suggest " instead")

#else

#include "internal.h"
Expand Down

0 comments on commit 680be88

Please sign in to comment.