Commit 613fa139 authored by petter's avatar petter

Emitting the generation date has no purpose


git-svn-id: https://www2.in.tum.de/repos/cup/develop@58 f8377d4f-c7f8-0310-b030-a31f13008fac
parent 1b0e59db
......@@ -3,7 +3,6 @@ package java_cup;
import java.io.PrintWriter;
import java.util.Stack;
import java.util.Enumeration;
import java.util.Date;
/**
* This class handles emitting generated code for the resulting parser.
......@@ -299,9 +298,7 @@ public class emit {
/* top of file */
out.println();
out.println("//----------------------------------------------------");
out.println("// The following code was generated by " +
version.title_str);
out.println("// " + new Date());
out.println("// The following code was generated by " + version.title_str);
out.println("//----------------------------------------------------");
out.println();
emit_package(out);
......@@ -917,9 +914,7 @@ public class emit {
/* top of file */
out.println();
out.println("//----------------------------------------------------");
out.println("// The following code was generated by " +
version.title_str);
out.println("// " + new Date());
out.println("// The following code was generated by " + version.title_str);
out.println("//----------------------------------------------------");
out.println();
emit_package(out);
......@@ -934,7 +929,6 @@ public class emit {
/* class header */
out.println();
out.println("/** "+version.title_str+" generated parser.");
out.println(" * @version " + new Date());
out.println(" */");
out.println("@SuppressWarnings({\"rawtypes\"})");
/* TUM changes; proposed by Henning Niss 20050628: added typeArgument */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment