Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Move comment rule before cdata
Browse files Browse the repository at this point in the history
  • Loading branch information
nickg committed Nov 4, 2010
1 parent fb0f6bb commit f017896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bibtex/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ def self.expect(token, pretty = nil)
rules.match /\=/, :equals
rules.match /\,/, :comma
rules.match /[\w\-_:]+/, :id
rules.match /.+?/, :cdata
rules.match /^%+.*\n/, :comment
rules.match /.+?/, :cdata
end
end

Expand Down

0 comments on commit f017896

Please sign in to comment.