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