summaryrefslogtreecommitdiffhomepage
path: root/lib/yard/mruby/parser/c/source_parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yard/mruby/parser/c/source_parser.rb')
-rw-r--r--lib/yard/mruby/parser/c/source_parser.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/yard/mruby/parser/c/source_parser.rb b/lib/yard/mruby/parser/c/source_parser.rb
new file mode 100644
index 0000000..f468dea
--- /dev/null
+++ b/lib/yard/mruby/parser/c/source_parser.rb
@@ -0,0 +1,9 @@
+module YARD::MRuby::Parser::C
+ class SourceParser < Parser
+ end
+
+ #
+ # Register all header files (.h) to be processed with the above HeaderParser
+ YARD::Parser::SourceParser.register_parser_type :source, SourceParser, 'c'
+
+end