--- - branch: MAIN date: Tue Nov 9 14:16:53 UTC 2021 files: - new: '1.38' old: '1.37' path: pkgsrc/devel/ruby-parser/Makefile pathrev: pkgsrc/devel/ruby-parser/Makefile@1.38 type: modified - new: '1.18' old: '1.17' path: pkgsrc/devel/ruby-parser/PLIST pathrev: pkgsrc/devel/ruby-parser/PLIST@1.18 type: modified - new: '1.37' old: '1.36' path: pkgsrc/devel/ruby-parser/distinfo pathrev: pkgsrc/devel/ruby-parser/distinfo@1.37 type: modified id: 20211109T141653Z.f39962fefde014e0b05e378a65faf5ec81265cf8 log: "devel/ruby-parser: update to 3.18.0\n\n3.18.0 (2021-10-27)\n\nHoly crapâ\x80¦ 58 commits! 2.7 and 3.0 are feature complete. Strings &\nheredocs have been rewritten.\n\no 9 major enhancements:\n\n * !!! Rewrote lexer (and friends) for strings, heredocs, and %*[]\n constructs.\n * Massive overhaul on line numbers.\n * Freeze input! Finally!!! No more modifying the input string for heredocs.\n * Overhauled RPStringScanner. Removed OLD compatibility methods!\n * Removed Sexp methods: value, to_sym, add, add_all, node_type, values.\n - value moved to sexp_processor.\n * Removed String#grep monkey-patch.\n * Removed String#lineno monkey-patch.\n * Removed string_to_pos, charpos, etc hacks for ancient ruby versions.\n * Removed unread_manyâ\x80¦ NO! NO EDITING THE INPUT STRING!\n\no 31 minor enhancements:\n\n * 2.7/3.0: many more pattern edge cases\n * 2.7: Added `mlhs = rhs rescue expr`\n * 2.7: refactored destructured args (`|(k,v)|`) and unfactored(?!)\n case_body/args.\n * 3.0: excessed_comma\n * 3.0: finished most everything: endless methods, patterns, etc.\n * 3.0: refactored / added new pattern changes\n * Added RubyLexer#in_heredoc? (ie, is there old_ss ?)\n * Added RubyLexer#old_ss and old_lineno and removed much of SSStack(ish).\n * Added Symbol#end_with? when necessary\n * Added TALLY and DEBUG options for ss.getch and ss.scan\n * Added ignore_body_comments to make parser productions more clear.\n * Added support for no_kwarg (eg `def f(**nil)`).\n \ * Added support for no_kwarg in blocks (eg `f { |**nil| }`).\n * Augmented generated parser files to have frozen_string_literal comments\n and fixed tests.\n \ * Broke out 3.0 parser into its own to ease development.\n * Bumped dependencies on sexp_processor and oedipus_lex.\n * Clean generated 3.x files.\n * Extracted all string scanner methods to their own module.\n * Fixed some precedence decls.\n \ * Implemented most of pattern matching for 2.7+.\n * Improve lex_state= to report location in verbose debug mode.\n * Made it easier to debug with a particular version of ruby via rake.\n * Make sure ripper uses the same version of ruby we specified.\n * Moved all string/heredoc/etc code to ruby_lexer_strings.rb\n \ * Remove warning from newer bisons.\n * Sprinkled in some frozen_string_literal, but mostly helped by oedipus\n bump.\n * Switch to comparing against ruby binary since ripper is buggy.\n * bugs task should try both bug*.rb and bad*.rb.\n \ * endless methods\n * f_any_kwrest refactoring.\n * refactored defn/defs\n\no 15 bug fixes:\n\n * Cleaned a bunch of old hacks. Initializing RubyLexer w/ Parser is\n cleaner now.\n * Corrected some lex_state errors in process_token_keyword.\n \ * Fixed ancient ruby2 change (use #lines) in ruby_parse_extract_error.\n * Fixed bug where else without rescue only raises on 2.6+\n * Fixed caller for getch and scan when DEBUG=1\n * Fixed comments in the middle of message cascades.\n \ * Fixed differences w/ symbol productions against ruby 2.7.\n * Fixed dsym to use string_contents production.\n * Fixed error in bdot2/3 in some edge cases. Fixed p_alt line.\n * Fixed heredoc dedenting in the presence of empty lines. (mvz)\n * Fixed some leading whitespace / comment processing\n * Fixed up how class/module/defn/defs comments were collected.\n * Overhauled ripper.rb to deal with buggy ripper w/ yydebug.\n * Removed dsym from literal.\n * Removed tUBANG lexeme but kept it distinct as a method name\n (eg: `def!@`).\n" module: pkgsrc subject: 'CVS commit: pkgsrc/devel/ruby-parser' unixtime: '1636467413' user: taca