1324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver#!/usr/bin/ruby
2324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver# encoding: utf-8
3324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver
4324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruvermodule ANTLR3
5324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  
6324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  # 
7324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  # The version of the ANTLR tool used while designing and
8324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  # testing the current version of this library
9324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  # 
10324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  ANTLR_MAJOR_VERSION = 3
11324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  ANTLR_MINOR_VERSION = 2
12324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  ANTLR_PATCH_VERSION = 1
13324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  ANTLR_VERSION = [ ANTLR_MAJOR_VERSION, ANTLR_MINOR_VERSION, ANTLR_PATCH_VERSION ].freeze
14324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  ANTLR_VERSION_STRING = ANTLR_VERSION.join( '.' )
15324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  ANTLR_VERSION_STRING.chomp!( '.0' )   # versioning drops minor version at 0
16324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  ANTLR_VERSION_STRING.freeze
17324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  
18324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  # 
19324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  # The version data for the current state the library itself
20324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  # 
21324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  MAJOR_VERSION = 1
22324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  MINOR_VERSION = 8
23324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  PATCH_VERSION = 5
24324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  VERSION = [ MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION ]
25324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  VERSION_STRING = VERSION.join( '.' ).freeze
26324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruver  
27324c4644fee44b9898524c09511bd33c3f12e2dfBen Gruverend
28