diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2014-01-23 22:35:00 +0100 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2014-01-23 22:35:00 +0100 |
commit | 3eca4cbdbdc768510ada77b7724128463c028daf (patch) | |
tree | 4ec42abe72d3cd1cdf7439a4344228c1ed5d79a5 /lib/coderay/scanners | |
parent | ccf15c5c5dd7b33ee475b03b905be93c6c7eb627 (diff) | |
download | coderay-3eca4cbdbdc768510ada77b7724128463c028daf.tar.gz |
fix another token kind in bash scanner
Diffstat (limited to 'lib/coderay/scanners')
-rw-r--r-- | lib/coderay/scanners/bash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/bash.rb b/lib/coderay/scanners/bash.rb index a9b506e..b79047e 100644 --- a/lib/coderay/scanners/bash.rb +++ b/lib/coderay/scanners/bash.rb @@ -121,7 +121,7 @@ module CodeRay module Scanners elsif match = scan(/'[^']*'?/) kind = :string elsif match = scan(/(?: \& | > | < | \| >> | << | >\& )/ox) - kind = :bin + kind = :binary elsif match = scan(/\d+[\.-](?:\d+[\.-]?)+/) #versions, dates, and hyphen delimited numbers kind = :float |