Create a gist now

Instantly share code, notes, and snippets.

This is a test for the pygments ruby syntax higlighter to test hash symbols syntax in Ruby 1.9 https://bitbucket.org/birkenfeld/pygments-main/issue/873/ruby-19-hash-syntax-symbol-with-underscore
{ :old_syntax => 'ok' }
{ 'stings as key' => 'should be ok' }
{ new_syntax: 'broken' }
{ withoutunderscore: 'should be ok' }
{ _underscoreinfront: 'might be ok, if I understand the pygments code correct' }
@rmetzler
Owner

as you can see in line #3 the one hash syntax is broken, and I think the problem is in this line of code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment