• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/ruby
2# encoding: utf-8
3
4module ANTLR3
5
6  #
7  # The version of the ANTLR tool used while designing and
8  # testing the current version of this library
9  #
10  ANTLR_MAJOR_VERSION = 3
11  ANTLR_MINOR_VERSION = 2
12  ANTLR_PATCH_VERSION = 1
13  ANTLR_VERSION = [ ANTLR_MAJOR_VERSION, ANTLR_MINOR_VERSION, ANTLR_PATCH_VERSION ].freeze
14  ANTLR_VERSION_STRING = ANTLR_VERSION.join( '.' )
15  ANTLR_VERSION_STRING.chomp!( '.0' )   # versioning drops minor version at 0
16  ANTLR_VERSION_STRING.freeze
17
18  #
19  # The version data for the current state the library itself
20  #
21  MAJOR_VERSION = 1
22  MINOR_VERSION = 8
23  PATCH_VERSION = 5
24  VERSION = [ MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION ]
25  VERSION_STRING = VERSION.join( '.' ).freeze
26
27end
28