/* a Jflex program that produces html, making all Java comments italic */
import java.io.IOException;
%%
%{
public static void main(String[] args) throws java.io.IOException {
System.out.println("");
(new Yylex(System.in)).markit();
System.out.println("");
}
%}
%function markit
%type void
%eofval{ // Code executed at eof
{ return; }
%eofval}
%%
"/*" { System.out.print("/*"); }
"*/" { System.out.print("*/"); }
\n { System.out.println("
"); }
. { System.out.print(yytext()); }