From 3eca4cbdbdc768510ada77b7724128463c028daf Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Thu, 23 Jan 2014 22:35:00 +0100 Subject: fix another token kind in bash scanner --- lib/coderay/scanners/bash.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/scanners/bash.rb') 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 -- cgit v1.2.1