# File lib/puppet/util/rdoc/parser.rb, line 439
439:   def look_for_directives_in(context, comment)
440:     preprocess = SM::PreProcess.new(@input_file_name, @options.rdoc_include)
441: 
442:     preprocess.handle(comment) do |directive, param|
443:       case directive
444:       when "stopdoc"
445:         context.stop_doc
446:         ""
447:       when "startdoc"
448:         context.start_doc
449:         context.force_documentation = true
450:         ""
451:       when "enddoc"
452:         #context.done_documenting = true
453:         #""
454:         throw :enddoc
455:       when "main"
456:         options = Options.instance
457:         options.main_page = param
458:         ""
459:       when "title"
460:         options = Options.instance
461:         options.title = param
462:         ""
463:       when "section"
464:         context.set_current_section(param, comment)
465:         comment.replace("") # 1.8 doesn't support #clear
466:         break
467:       else
468:         warn "Unrecognized directive '#{directive}'"
469:         break
470:       end
471:     end
472:     remove_private_comments(comment)
473:   end