package xm::code::groff; use xm::o; use xm::code::vars; use xm::code::func; sub DESC{" highlight sourcecode - GROFF mode "} # BEGIN { # written by JA $LANGUAGE{'groff'} = { 'filename' => '\\.groff$', 'regex' => '', 'patterns' => [ { 'name' => 'comment', 'regex' => '\\\\".*?$', 'style' => 'comment', 'childregex' => [] } ] }; # }1; sub DO { return xm::code::func::DO($_[0],$LANGUAGE{groff}{patterns}); } sub ARGS { return xm::o::args_stdin(@_, DESC); } sub main { return DO(xm::o::args_stdin(@_, DESC)); } 1;