$arch = "ia32";
# this string marks the beginning of a comment in emit
-$comment_string = "/*";
+$comment_string = "/*";
+$comment_string_end = "*/";
# the number of additional opcodes you want to register
#$additional_opcodes = 0;
our $arch;
our $comment_string;
+our $comment_string_end;
our %nodes;
# include spec file
push(@obst_func, $indent.'lc_esnprintf(arg_env, '.$buf.', 256, "'.$res.'"'.$parm.');'."\n");
}
- push(@obst_func, $indent.'lc_efprintf(arg_env, F, "\t%-35s %-60s /* %+F (%+G) */\n", cmd_buf, cmnt_buf, n, n);'."\n");
+ push(@obst_func, $indent.'lc_efprintf(arg_env, F, "\t%-35s %-60s '.$comment_string.' %+F (%+G) '.$comment_string_end.'\n", cmd_buf, cmnt_buf, n, n);'."\n");
}
else {
push(@obst_func, $template,"\n");