Skip to content

Bash Scanner #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fixing wrong token type
  • Loading branch information
korny committed Jan 23, 2014
commit ccf15c5c5dd7b33ee475b03b905be93c6c7eb627
2 changes: 1 addition & 1 deletion lib/coderay/scanners/bash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def scan_tokens encoder, options
kind = match = nil

if match = scan(/\n/)
encoder.text_token(match, :end_line)
encoder.text_token(match, :space)
next
end

Expand Down