summaryrefslogtreecommitdiffhomepage
path: root/lib/yard/mruby/parser/c/parser.rb
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2015-09-25 18:01:14 -0300
committerSeba Gamboa <[email protected]>2015-09-25 18:01:14 -0300
commit3a60c88a3b3dbd334e4769a6283fb90c0495c25b (patch)
treede3d8ec187771d6e2d5f42da864c19ee6d69d890 /lib/yard/mruby/parser/c/parser.rb
parent82e906d74dcc943d737ced7a6ebfee1e71a74aaf (diff)
downloadyard-mruby-3a60c88a3b3dbd334e4769a6283fb90c0495c25b.tar.gz
yard-mruby-3a60c88a3b3dbd334e4769a6283fb90c0495c25b.zip
Sorting tons of stuff around
Diffstat (limited to 'lib/yard/mruby/parser/c/parser.rb')
-rw-r--r--lib/yard/mruby/parser/c/parser.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/yard/mruby/parser/c/parser.rb b/lib/yard/mruby/parser/c/parser.rb
new file mode 100644
index 0000000..3b6414a
--- /dev/null
+++ b/lib/yard/mruby/parser/c/parser.rb
@@ -0,0 +1,10 @@
+module YARD::MRuby::Parser
+ module C
+ class Parser < YARD::Parser::C::CParser
+ end
+
+ # Disable default C Parser
+ YARD::Parser::SourceParser.parser_types.delete(:c)
+ YARD::Parser::SourceParser.parser_type_extensions.delete(:c)
+ end
+end