summaryrefslogtreecommitdiffhomepage
path: root/lib/yard/mruby/handlers
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2015-09-29 15:05:35 -0300
committerSeba Gamboa <[email protected]>2015-09-29 15:05:35 -0300
commita2ce558f0243077d152c6a703e737a68f9a3f301 (patch)
treec44b4807fc108dcb1d99316a633153a781e70244 /lib/yard/mruby/handlers
parente7711181c85641561a6ee8cef5dcb7710608f4f2 (diff)
downloadyard-mruby-a2ce558f0243077d152c6a703e737a68f9a3f301.tar.gz
yard-mruby-a2ce558f0243077d152c6a703e737a68f9a3f301.zip
Support variadic arguments in functions
Diffstat (limited to 'lib/yard/mruby/handlers')
-rw-r--r--lib/yard/mruby/handlers/c/header/function_handler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yard/mruby/handlers/c/header/function_handler.rb b/lib/yard/mruby/handlers/c/header/function_handler.rb
index 3d401a8..52ce583 100644
--- a/lib/yard/mruby/handlers/c/header/function_handler.rb
+++ b/lib/yard/mruby/handlers/c/header/function_handler.rb
@@ -4,7 +4,7 @@ module YARD::MRuby::Handlers::C::Header
MRB_(API|INLINE)\s+
((struct\s+)?\w+(\s*\*)?)\s*
((\w+\s+)+)?(\w+)\s*
- \(([\w\s\*,]*)\)
+ \(([\w\s\*,\.]*)\)
/mx
handles MATCH