rtext 0.8.0 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -77,7 +77,7 @@ module Tokenizer
77
77
  str = $'
78
78
  result << Token.new(:boolean, $& == "true", idx, col, col+$&.size-1)
79
79
  col += $&.size
80
- when /\A([a-zA-Z_]\w*)\b(?:\s*:)?/
80
+ when /\A([a-zA-Z_]\w*)\b:?/
81
81
  str = $'
82
82
  if $&[-1] == ?:
83
83
  result << Token.new(:label, $1, idx, col, col+$&.size-1)