Skip to content
This repository was archived by the owner on Feb 6, 2018. It is now read-only.

Commit 3eca4cb

Browse files
committed
fix another token kind in bash scanner
1 parent ccf15c5 commit 3eca4cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/coderay/scanners/bash.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def scan_tokens encoder, options
121121
elsif match = scan(/'[^']*'?/)
122122
kind = :string
123123
elsif match = scan(/(?: \& | > | < | \| >> | << | >\& )/ox)
124-
kind = :bin
124+
kind = :binary
125125
elsif match = scan(/\d+[\.-](?:\d+[\.-]?)+/)
126126
#versions, dates, and hyphen delimited numbers
127127
kind = :float

0 commit comments

Comments
 (0)