Port over most of the old XML error handling.

Some messages are a bit different due to ruby-ll's error handling, other than
that it's largely the same stuff as before.
This commit is contained in:
Yorick Peterse committed 2015-03-21 01:22:59 +01:00
1 parent 1a326fc516
commit 006ef4d51a
4 files changed
+62 -4

No files matched your search

+4
View File
@@ -2,6 +2,10 @@ rule '.rb' => '.y' do |task|
sh "racc -l -o #{task.name} #{task.source}"
end
rule '.rb' => '.rll' do |task|
sh "ruby-ll #{task.source} -o #{task.name}"
end
desc 'Generates the parser'
task :parser => [
'lib/oga/xml/parser.rb',