function consume_ml_comment (proc_stack) {
  let comment = "/*";
  proc_stack.tSkip(2);

  while (!proc_stack.tMatches("*/")) {
    comment += proc_stack.tAccept();
  }
  proc_stack.tSkip(2);
  comment += "*/";

  return comment;
}
function consume_ml_comment (proc_stack) {
  let comment = "")) {
    comment += proc_stack.tAccept();
  }
  proc_stack.tSkip(2);
  comment += "*/";

  return comment;
}
function consume_ml_comment ( proc_stack ) { let comment = "/*" ; proc_stack . tSkip ( 2 ) ; while ( ! proc_stack . tMatches ( "*/" ) ) { comment += proc_stack . tAccept ( ) ; } proc_stack . tSkip ( 2 ) ; comment += "*/" ; return comment ; }
Called on match `/*`
Called on match / *