diff options
author | Dmitrii <[email protected]> | 2025-01-10 13:30:46 +0800 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-01-14 12:24:37 +0900 |
commit | f1f81e86159221dbfce29e8e64ca8963391256fa (patch) | |
tree | 3ebd3de4ee0a058964c041feeeba41e017212213 /lib | |
parent | ed0a213608f3f764b00e484ef31476fd1ff43172 (diff) |
[ruby/fiddle] add regex for bool parsing & test struct w/ bool
parsing
(https://github.com/ruby/fiddle/pull/169)
GitHub: fix https://github.com/ruby/fiddle/pull/168
Struct parsing invokes "parse_ctype" on the whole member signature,
which fails if member type is "bool" due to plain string matching for
it. This change updates "bool" type matching to a regexp, so TYPE_BOOL
is correctly parsed for a whole signature like "bool toggle" as well as
just "bool".
---------
https://github.com/ruby/fiddle/commit/71607446d4
Co-authored-by: Sutou Kouhei <[email protected]>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12568
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions