Skip to content

Commit

Permalink
Better error reporting.
Browse files Browse the repository at this point in the history
  • Loading branch information
gigamonkey committed Apr 18, 2012
1 parent 59a98f3 commit dae648d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markup.rb
Expand Up @@ -666,7 +666,7 @@ def grok(token)
when @value
@block.call
else
raise "Parse error expected <#{@value}> got #{token.value}"
raise "Parse error expected <#{@value}> got #{token.value} at #{token.line}:#{token.column}"
end
end
end
Expand Down

0 comments on commit dae648d

Please sign in to comment.