regexp_parser 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20ba21704667276107a1041b3bb5943bbbec0078f706cf0d7db85110631dfe8d
4
- data.tar.gz: 87886f6cad480ebc62f3e1f243d9b61170097e5419fc8b3972cd3348e5d8d7e0
3
+ metadata.gz: 9af74355b57139b93d0207bfbf6fc6fbb43c1eb6aa531bd11710e39168af107a
4
+ data.tar.gz: 8d63533aa2206b121fd59959a43cad2b64e3b3c6d0f8617953d2c401033c86d5
5
5
  SHA512:
6
- metadata.gz: '0678640973741b2ea63053c058809fa075b3b465756bddee9a1914f67f7181a3681d3592662d4eadf5a60e844c550950b371577239924c4d3ce7f07f9fdfefa6'
7
- data.tar.gz: 3bf18d0d7989c1f9eef010d1579ac78537c6c083c9b7c7c2f0cda094c0f973e1fdcc17c5992ae35d823720d2cdb10a60424876e08bd4b2b60b125c8b107a62bf
6
+ metadata.gz: de6afb1888075eaa8d220192882494eb67c54aaba5fa84b991adf753dbb06949b8b0ea6d44054d32c3cba1e8cb6ee04d8f8f2f8643e4663188ddca3b7ec7e07a
7
+ data.tar.gz: f9e7d91a317bb153b645380a6447faca2656b87fa164afae9dc1cf9bc63463c11a87388258d18a49ed3df7afc3a7b25cd0a2113db412c2e7f504cee9aec8c255
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## [Unreleased]
2
+
3
+ ### [1.3.0] - 2018-11-14 - [Janosch Müller](mailto:janosch84@gmail.com)
4
+
5
+ ### Added
6
+
7
+ - `Syntax#features` returns a `Hash` of all types and tokens supported by a given `Syntax`
8
+
9
+ ### Fixed
10
+
11
+ - Thanks to [Akira Matsuda](https://github.com/amatsuda)
12
+ * eliminated warning "assigned but unused variable - testEof"
13
+
1
14
  ## [1.2.0] - 2018-09-28 - [Janosch Müller](mailto:janosch84@gmail.com)
2
15
 
3
16
  ### Added
@@ -147,15 +160,15 @@ This release includes several breaking changes, mostly to character sets, #map a
147
160
 
148
161
  ## [0.4.5] - 2017-09-17 - [Ammar Ali](mailto:ammarabuali@gmail.com)
149
162
 
150
- - Thanks to Janosch Müller (https://github.com/janosch-x):
163
+ - Thanks to [Janosch Müller](https://github.com/janosch-x):
151
164
  * Support ruby 2.2.7 (PR #42)
152
165
  - Added ruby version files for 2.2.8, 2.3.5, and 2.4.2
153
166
 
154
167
  ## [0.4.4] - 2017-07-10 - [Ammar Ali](mailto:ammarabuali@gmail.com)
155
168
 
156
- - Thanks to Janosch Müller (https://github.com/janosch-x):
169
+ - Thanks to [Janosch Müller](https://github.com/janosch-x):
157
170
  * Add support for new absence operator (PR #33)
158
- - Thanks to Bartek Bułat (https://github.com/barthez):
171
+ - Thanks to [Bartek Bułat](https://github.com/barthez):
159
172
  * Add support for Ruby 2.3.4 version (PR #40)
160
173
 
161
174
  ## [0.4.3] - 2017-03-24 - [Ammar Ali](mailto:ammarabuali@gmail.com)
@@ -164,7 +177,7 @@ This release includes several breaking changes, mostly to character sets, #map a
164
177
 
165
178
  ## [0.4.2] - 2017-01-10 - [Ammar Ali](mailto:ammarabuali@gmail.com)
166
179
 
167
- - Thanks to Janosch Müller (https://github.com/janosch-x):
180
+ - Thanks to [Janosch Müller](https://github.com/janosch-x):
168
181
  * Support ruby 2.4 (PR #30)
169
182
  * Improve codepoint handling (PR #27)
170
183
 
@@ -179,26 +192,26 @@ This release includes several breaking changes, mostly to character sets, #map a
179
192
 
180
193
  ## [0.3.6] - 2016-06-08 - [Ammar Ali](mailto:ammarabuali@gmail.com)
181
194
 
182
- - Thanks to John Backus (https://github.com/backus):
195
+ - Thanks to [John Backus](https://github.com/backus):
183
196
  * Remove warnings (PR #26)
184
197
 
185
198
  ## [0.3.5] - 2016-05-30 - [Ammar Ali](mailto:ammarabuali@gmail.com)
186
199
 
187
- - Thanks to John Backus (https://github.com/backus):
200
+ - Thanks to [John Backus](https://github.com/backus):
188
201
  * Fix parsing of /\xFF/n (hex:escape) (PR #24)
189
202
 
190
203
  ## [0.3.4] - 2016-05-25 - [Ammar Ali](mailto:ammarabuali@gmail.com)
191
204
 
192
- - Thanks to John Backus (https://github.com/backus):
205
+ - Thanks to [John Backus](https://github.com/backus):
193
206
  * Fix warnings (PR #19)
194
- - Thanks to Dana Scheider (https://github.com/danascheider):
207
+ - Thanks to [Dana Scheider](https://github.com/danascheider):
195
208
  * Correct error in README (PR #20)
196
209
  - Fixed mistyped \h and \H character types (issue #21)
197
210
  - Added ancestry syntax files for latest rubies (issue #22)
198
211
 
199
212
  ## [0.3.3] - 2016-04-26 - [Ammar Ali](mailto:ammarabuali@gmail.com)
200
213
 
201
- - Thanks to John Backus (https://github.com/backus):
214
+ - Thanks to [John Backus](https://github.com/backus):
202
215
  * Fixed scanning of zero length comments (PR #12)
203
216
  * Fixed missing escape:codepoint_list syntax token (PR #14)
204
217
  * Fixed to_s for modified interval quantifiers (PR #17)
@@ -2742,6 +2742,9 @@ end
2742
2742
 
2743
2743
  # line 810 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2744
2744
 
2745
+ # to avoid "warning: assigned but unused variable - testEof"
2746
+ testEof = testEof
2747
+
2745
2748
  if cs == re_scanner_error
2746
2749
  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
2747
2750
  raise ScannerError.new("Scan error at '#{text}'")
@@ -808,6 +808,9 @@ class Regexp::Scanner
808
808
  %% write init;
809
809
  %% write exec;
810
810
 
811
+ # to avoid "warning: assigned but unused variable - testEof"
812
+ testEof = testEof
813
+
811
814
  if cs == re_scanner_error
812
815
  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
813
816
  raise ScannerError.new("Scan error at '#{text}'")
@@ -18,6 +18,10 @@ module Regexp::Syntax
18
18
  implements Token::FreeSpace::Type, Token::FreeSpace::All
19
19
  end
20
20
 
21
+ def features
22
+ @implements
23
+ end
24
+
21
25
  def implementations(type)
22
26
  @implements[type] ||= Set.new
23
27
  end
@@ -1,6 +1,5 @@
1
1
  module Regexp::Syntax
2
2
  module Token
3
-
4
3
  module Anchor
5
4
  Basic = [:bol, :eol]
6
5
  Extended = Basic + [:word_boundary, :nonword_boundary]
@@ -12,6 +11,5 @@ module Regexp::Syntax
12
11
  end
13
12
 
14
13
  Map[Anchor::Type] = Anchor::All
15
-
16
14
  end
17
15
  end
@@ -1,6 +1,5 @@
1
1
  module Regexp::Syntax
2
2
  module Token
3
-
4
3
  module Assertion
5
4
  Lookahead = [:lookahead, :nlookahead]
6
5
  Lookbehind = [:lookbehind, :nlookbehind]
@@ -10,6 +9,5 @@ module Regexp::Syntax
10
9
  end
11
10
 
12
11
  Map[Assertion::Type] = Assertion::All
13
-
14
12
  end
15
13
  end
@@ -1,6 +1,5 @@
1
1
  module Regexp::Syntax
2
2
  module Token
3
-
4
3
  module Backreference
5
4
  Name = [:name_ref]
6
5
  Number = [:number, :number_ref, :number_rel_ref]
@@ -21,6 +20,5 @@ module Regexp::Syntax
21
20
 
22
21
  Map[Backreference::Type] = Backreference::All +
23
22
  SubexpressionCall::All
24
-
25
23
  end
26
24
  end
@@ -1,13 +1,10 @@
1
1
  module Regexp::Syntax
2
2
  module Token
3
-
4
3
  module CharacterSet
5
- OpenClose = [:open, :close]
6
-
7
- Basic = [:negate, :range]
8
- Extended = Basic + [:intersection, :backspace]
4
+ Basic = [:open, :close, :negate, :range]
5
+ Extended = Basic + [:intersection]
9
6
 
10
- All = Basic + Extended
7
+ All = Extended
11
8
  Type = :set
12
9
  end
13
10
 
@@ -1,6 +1,5 @@
1
1
  module Regexp::Syntax
2
2
  module Token
3
-
4
3
  module CharacterType
5
4
  Basic = []
6
5
  Extended = [:digit, :nondigit, :space, :nonspace, :word, :nonword]
@@ -13,6 +12,5 @@ module Regexp::Syntax
13
12
  end
14
13
 
15
14
  Map[CharacterType::Type] = CharacterType::All
16
-
17
15
  end
18
16
  end
@@ -1,22 +1,16 @@
1
1
  module Regexp::Syntax
2
2
  module Token
3
-
4
3
  module Conditional
5
- Delimiters = [:open, :close]
4
+ Delimiters = [:open, :close]
6
5
 
7
- Condition = [:condition_open, :condition, :condition_close]
8
- Separator = [:separator]
6
+ Condition = [:condition_open, :condition, :condition_close]
7
+ Separator = [:separator]
9
8
 
10
- All = (
11
- Conditional::Delimiters +
12
- Conditional::Condition +
13
- Conditional::Separator
14
- ).flatten
9
+ All = Conditional::Delimiters + Conditional::Condition + Conditional::Separator
15
10
 
16
11
  Type = :conditional
17
12
  end
18
13
 
19
14
  Map[Conditional::Type] = Conditional::All
20
-
21
15
  end
22
16
  end
@@ -1,10 +1,7 @@
1
1
  module Regexp::Syntax
2
2
  module Token
3
-
4
3
  module Escape
5
- Basic = [:backslash, :literal]
6
-
7
- Backreference = [:digit]
4
+ Basic = [:backslash, :literal]
8
5
 
9
6
  Control = [:control, :meta_sequence]
10
7
 
@@ -24,11 +21,10 @@ module Regexp::Syntax
24
21
 
25
22
  Octal = [:octal]
26
23
 
27
- All = Basic + Backreference + ASCII + Meta
24
+ All = Basic + Control + ASCII + Unicode + Meta + Hex + Octal
28
25
  Type = :escape
29
26
  end
30
27
 
31
28
  Map[Escape::Type] = Escape::All
32
-
33
29
  end
34
30
  end
@@ -1,6 +1,5 @@
1
1
  module Regexp::Syntax
2
2
  module Token
3
-
4
3
  module Group
5
4
  Basic = [:capture, :close]
6
5
  Extended = Basic + [:options, :options_switch]
@@ -20,6 +19,5 @@ module Regexp::Syntax
20
19
  end
21
20
 
22
21
  Map[Group::Type] = Group::All
23
-
24
22
  end
25
23
  end
@@ -1,6 +1,5 @@
1
1
  module Regexp::Syntax
2
2
  module Token
3
-
4
3
  module Keep
5
4
  Mark = [:mark]
6
5
 
@@ -9,6 +8,5 @@ module Regexp::Syntax
9
8
  end
10
9
 
11
10
  Map[Keep::Type] = Keep::All
12
-
13
11
  end
14
12
  end
@@ -1,15 +1,13 @@
1
1
  module Regexp::Syntax
2
2
  module Token
3
-
4
3
  module Meta
5
- Basic = [:dot]
6
- Extended = Basic + [:alternation]
4
+ Basic = [:dot]
5
+ Extended = Basic + [:alternation]
7
6
 
8
7
  All = Extended
9
8
  Type = :meta
10
9
  end
11
10
 
12
11
  Map[Meta::Type] = Meta::All
13
-
14
12
  end
15
13
  end
@@ -1,8 +1,8 @@
1
1
  module Regexp::Syntax
2
2
  module Token
3
3
  module PosixClass
4
- Standard = [:alnum, :alpha, :blank, :cntrl, :digit, :graph,
5
- :lower, :print, :punct, :space, :upper, :xdigit]
4
+ Standard = [:alnum, :alpha, :blank, :cntrl, :digit, :graph,
5
+ :lower, :print, :punct, :space, :upper, :xdigit]
6
6
 
7
7
  Extensions = [:ascii, :word]
8
8
 
@@ -10,6 +10,7 @@ module Regexp::Syntax
10
10
  Type = :posixclass
11
11
  NonType = :nonposixclass
12
12
  end
13
+
13
14
  Map[PosixClass::Type] = PosixClass::All
14
15
  Map[PosixClass::NonType] = PosixClass::All
15
16
  end
@@ -1,6 +1,5 @@
1
1
  module Regexp::Syntax
2
2
  module Token
3
-
4
3
  module Quantifier
5
4
  Greedy = [
6
5
  :zero_or_one,
@@ -32,6 +31,5 @@ module Regexp::Syntax
32
31
  end
33
32
 
34
33
  Map[Quantifier::Type] = Quantifier::All
35
-
36
34
  end
37
35
  end
@@ -1,13 +1,12 @@
1
1
  module Regexp::Syntax
2
2
  module Token
3
-
4
3
  module UnicodeProperty
5
4
  CharType_V1_9_0 = [:alnum, :alpha, :ascii, :blank, :cntrl, :digit, :graph,
6
- :lower, :print, :punct, :space, :upper, :word, :xdigit]
5
+ :lower, :print, :punct, :space, :upper, :word, :xdigit]
7
6
 
8
7
  CharType_V2_5_0 = [:xposixpunct]
9
8
 
10
- POSIX = [:any, :assigned, :newline]
9
+ POSIX = [:any, :assigned, :newline]
11
10
 
12
11
  module Category
13
12
  Letter = [:letter, :uppercase_letter, :lowercase_letter,
@@ -36,14 +35,12 @@ module Regexp::Syntax
36
35
  Symbol + Separator + Codepoint
37
36
  end
38
37
 
39
- # As of ruby version 1.9.3
40
38
  Age_V1_9_3 = [:'age=1.1', :'age=2.0', :'age=2.1', :'age=3.0', :'age=3.1',
41
39
  :'age=3.2', :'age=4.0', :'age=4.1', :'age=5.0', :'age=5.1',
42
40
  :'age=5.2', :'age=6.0']
43
41
 
44
42
  Age_V2_0_0 = [:'age=6.1']
45
43
 
46
- # These were merged (from Onigmo) in the branch for 2.2.0
47
44
  Age_V2_2_0 = [:'age=6.2', :'age=6.3', :'age=7.0']
48
45
 
49
46
  Age_V2_3_0 = [:'age=8.0']
@@ -291,8 +288,6 @@ module Regexp::Syntax
291
288
 
292
289
  UnicodeBlock_V1_9_0 = [
293
290
  :in_alphabetic_presentation_forms,
294
- :in_arabic_presentation_forms_a,
295
- :in_arabic_presentation_forms_b,
296
291
  :in_arabic,
297
292
  :in_armenian,
298
293
  :in_arrows,
@@ -350,17 +345,12 @@ module Regexp::Syntax
350
345
  :in_khmer_symbols,
351
346
  :in_khmer,
352
347
  :in_lao,
353
- :in_latin_1_supplement,
354
- :in_latin_extended_a,
355
- :in_latin_extended_b,
356
348
  :in_latin_extended_additional,
357
349
  :in_letterlike_symbols,
358
350
  :in_limbu,
359
351
  :in_low_surrogates,
360
352
  :in_malayalam,
361
353
  :in_mathematical_operators,
362
- :in_miscellaneous_mathematical_symbols_a,
363
- :in_miscellaneous_mathematical_symbols_b,
364
354
  :in_miscellaneous_symbols_and_arrows,
365
355
  :in_miscellaneous_symbols,
366
356
  :in_miscellaneous_technical,
@@ -378,8 +368,6 @@ module Regexp::Syntax
378
368
  :in_spacing_modifier_letters,
379
369
  :in_specials,
380
370
  :in_superscripts_and_subscripts,
381
- :in_supplemental_arrows_a,
382
- :in_supplemental_arrows_b,
383
371
  :in_supplemental_mathematical_operators,
384
372
  :in_syriac,
385
373
  :in_tagalog,
@@ -610,7 +598,8 @@ module Regexp::Syntax
610
598
 
611
599
  Emoji = Emoji_V2_5_0
612
600
 
613
- V1_9_0 = CharType_V1_9_0 + POSIX + Category::All + Derived_V1_9_0 + Script_V1_9_0 + UnicodeBlock_V1_9_0
601
+ V1_9_0 = Category::All + POSIX + CharType_V1_9_0 + Derived_V1_9_0 + Script_V1_9_0 + UnicodeBlock_V1_9_0
602
+
614
603
  V1_9_3 = Age_V1_9_3 + Script_V1_9_3
615
604
 
616
605
  V2_0_0 = Age_V2_0_0 + Derived_V2_0_0 + Script_V2_0_0 + UnicodeBlock_V2_0_0
@@ -623,7 +612,7 @@ module Regexp::Syntax
623
612
 
624
613
  V2_5_0 = Age_V2_5_0 + CharType_V2_5_0 + Derived_V2_5_0 + Emoji_V2_5_0 + Script_V2_5_0 + UnicodeBlock_V2_5_0
625
614
 
626
- All = V1_9_0 + V1_9_3 + V2_0_0 + V2_2_0 + V2_3_0 + V2_4_0 + V2_5_0
615
+ All = V1_9_0 + V1_9_3 + V2_0_0 + V2_2_0 + V2_3_0 + V2_4_0 + V2_5_0
627
616
 
628
617
  Type = :property
629
618
  NonType = :nonproperty
@@ -631,6 +620,5 @@ module Regexp::Syntax
631
620
 
632
621
  Map[UnicodeProperty::Type] = UnicodeProperty::All
633
622
  Map[UnicodeProperty::NonType] = UnicodeProperty::All
634
-
635
623
  end
636
624
  end
@@ -7,22 +7,15 @@ module Regexp::Syntax
7
7
  implements :assertion, Assertion::Lookahead
8
8
  implements :backref, [:number]
9
9
  implements :posixclass, PosixClass::Standard
10
- implements :escape,
11
- Escape::Basic + Escape::Backreference +
12
- Escape::ASCII + Escape::Meta + Escape::Control
13
-
14
10
  implements :group, Group::All
15
-
16
11
  implements :meta, Meta::Extended
17
-
12
+ implements :set, CharacterSet::All
13
+ implements :type, CharacterType::Extended
14
+ implements :escape,
15
+ Escape::Basic + Escape::ASCII + Escape::Meta + Escape::Control
18
16
  implements :quantifier,
19
17
  Quantifier::Greedy + Quantifier::Reluctant +
20
18
  Quantifier::Interval + Quantifier::IntervalReluctant
21
-
22
- implements :set, CharacterSet::OpenClose + CharacterSet::Extended
23
-
24
- implements :type,
25
- CharacterType::Extended
26
19
  end
27
20
  end
28
21
  end
@@ -3,26 +3,14 @@ module Regexp::Syntax
3
3
  def initialize
4
4
  super
5
5
 
6
- implements :assertion, Assertion::Lookbehind +
7
- SubexpressionCall::All
8
-
9
- implements :backref, Backreference::All +
10
- SubexpressionCall::All
11
-
6
+ implements :assertion, Assertion::Lookbehind
7
+ implements :backref, Backreference::All + SubexpressionCall::All
12
8
  implements :posixclass, PosixClass::Extensions
13
-
14
9
  implements :nonposixclass, PosixClass::All
15
-
16
10
  implements :escape, Escape::Unicode + Escape::Hex + Escape::Octal
17
-
18
11
  implements :type, CharacterType::Hex
19
-
20
- implements :property,
21
- UnicodeProperty::V1_9_0
22
-
23
- implements :nonproperty,
24
- UnicodeProperty::V1_9_0
25
-
12
+ implements :property, UnicodeProperty::V1_9_0
13
+ implements :nonproperty, UnicodeProperty::V1_9_0
26
14
  implements :quantifier,
27
15
  Quantifier::Possessive + Quantifier::IntervalPossessive
28
16
  end
@@ -8,7 +8,6 @@ module Regexp::Syntax
8
8
  implements :conditional, Conditional::All
9
9
  implements :property, UnicodeProperty::V2_0_0
10
10
  implements :nonproperty, UnicodeProperty::V2_0_0
11
-
12
11
  implements :type, CharacterType::Clustered
13
12
 
14
13
  excludes :property, :newline
@@ -1,5 +1,5 @@
1
1
  class Regexp
2
2
  class Parser
3
- VERSION = '1.2.0'
3
+ VERSION = '1.3.0'
4
4
  end
5
5
  end
@@ -2,3 +2,5 @@ require File.expand_path("../../helpers", __FILE__)
2
2
 
3
3
  require File.expand_path("../test_syntax", __FILE__)
4
4
  require File.expand_path("../versions/test_all", __FILE__)
5
+
6
+ require File.expand_path("../test_syntax_token_map", __FILE__)
@@ -0,0 +1,25 @@
1
+ require File.expand_path("../../helpers", __FILE__)
2
+
3
+ class TestSyntaxTokenMap < Test::Unit::TestCase
4
+ def test_syntax_token_map_complete
5
+ map = Regexp::Syntax::Token::Map
6
+ latest_syntax = Regexp::Syntax.new 'ruby/2.9'
7
+
8
+ latest_syntax.features.each do |type, tokens|
9
+ tokens.each do |token|
10
+ assert map[type].include?(token),
11
+ "`#{type} #{token}` implemented but missing from Map"
12
+ end
13
+ end
14
+ end
15
+
16
+ def test_syntax_token_map_uniq
17
+ combinations = Regexp::Syntax::Token::Map.flat_map do |type, tokens|
18
+ tokens.map { |token| "#{type} #{token}" }
19
+ end
20
+
21
+ non_uniq = combinations.group_by { |str| str }.select { |_, v| v.count > 1 }
22
+
23
+ assert_empty non_uniq.keys
24
+ end
25
+ end
@@ -11,7 +11,9 @@ class TestSyntaxV1_8 < Test::Unit::TestCase
11
11
  implements: {
12
12
  assertion: [Assertion::Lookahead].flatten,
13
13
  backref: [:number],
14
- escape: [Escape::All].flatten,
14
+ escape: [
15
+ Escape::Basic + Escape::ASCII + Escape::Meta + Escape::Control
16
+ ].flatten,
15
17
  group: [Group::V1_8_6].flatten,
16
18
  quantifier: [
17
19
  Quantifier::Greedy + Quantifier::Reluctant +
@@ -10,8 +10,7 @@ class TestSyntaxV1_9_1 < Test::Unit::TestCase
10
10
  tests = {
11
11
  implements: {
12
12
  escape: [
13
- Escape::Backreference + Escape::ASCII + Escape::Meta + Escape::Unicode +
14
- Escape::Hex + Escape::Octal
13
+ Escape::Hex + Escape::Octal + Escape::Unicode
15
14
  ].flatten,
16
15
 
17
16
  type: [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: regexp_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ammar Ali
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-28 00:00:00.000000000 Z
11
+ date: 2018-11-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A library for tokenizing, lexing, and parsing Ruby regular expressions.
14
14
  email:
@@ -144,6 +144,7 @@ files:
144
144
  - test/support/warning_extractor.rb
145
145
  - test/syntax/test_all.rb
146
146
  - test/syntax/test_syntax.rb
147
+ - test/syntax/test_syntax_token_map.rb
147
148
  - test/syntax/versions/test_1.8.rb
148
149
  - test/syntax/versions/test_1.9.1.rb
149
150
  - test/syntax/versions/test_1.9.3.rb
@@ -223,6 +224,7 @@ test_files:
223
224
  - test/expression/test_traverse.rb
224
225
  - test/expression/test_all.rb
225
226
  - test/expression/test_strfregexp.rb
227
+ - test/syntax/test_syntax_token_map.rb
226
228
  - test/syntax/versions/test_2.0.0.rb
227
229
  - test/syntax/versions/test_aliases.rb
228
230
  - test/syntax/versions/test_1.8.rb