lib/yard/handlers/c/symbol_handler.rb in yard-0.8.7.4 vs lib/yard/handlers/c/symbol_handler.rb in yard-0.8.7.5

- old
+ new

@@ -1,7 +1,7 @@ # Keeps track of function bodies for symbol lookup during Ruby method declarations class YARD::Handlers::C::SymbolHandler < YARD::Handlers::C::Base - MATCH = %r{\A\s*(?:(?:static|SWIGINTERN)\s+)?(?:intern\s+)?VALUE\s+(\w+)\s*\(} + MATCH = %r{\A\s*(?:(?:\w+)\s+)?(?:intern\s+)?VALUE\s+(\w+)\s*\(} handles MATCH statement_class ToplevelStatement process { symbols[statement.source[MATCH, 1]] = statement } end