1 2 package java_cup; 3 4 /** This class contains version and authorship information. 5 * It contains only static data elements and basically just a central 6 * place to put this kind of information so it can be updated easily 7 * for each release. 8 * 9 * Version numbers used here are broken into 3 parts: major, minor, and 10 * update, and are written as v<major>.<minor><update> (e.g. v0.9a). 11 * Major numbers will change at the time of major reworking of some 12 * part of the system. Minor numbers for each public release or 13 * change big enough to cause incompatibilities. Finally update 14 * letter will be incremented for small bug fixes and changes that 15 * probably wouldn't be noticed by a user. 16 * 17 * @version last updated: 1/7/96 18 * @author Scott Hudson 19 */ 20 21 public class version { 22 /** String for the current version. */ 23 public static final String version_str = "v0.9d"; 24 25 /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/ 26 27 /** The major version number. */ 28 public static final int major = 0; 29 30 /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/ 31 32 /** The minor version number. */ 33 public static final int minor = 9; 34 35 /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/ 36 37 /** The update letter. */ 38 public static final char update = 'd'; 39 40 /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/ 41 42 /** Full title of the system */ 43 public static final String title_str = "Java(tm) CUP " + version_str; 44 45 /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/ 46 47 /** Name of the author */ 48 public static final String author_str = "Scott E. Hudson"; 49 50 /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/ 51 52 /** The command name normally used to invoke this program */ 53 public static final String program_name = "java_cup"; 54 }; 55