Fixed the pull parser for the XML LL parser.

This commit is contained in:
Yorick Peterse committed 2015-03-21 01:22:59 +01:00
1 parent 5eed0d31d6
commit a023b35e78
2 files changed
+12 -3

No files matched your search

+11
View File
@@ -262,6 +262,17 @@ string_body_follow
yield [-1, -1]
end
##
# @see [LL::Driver#parse]
#
def parse
retval = super
reset
return retval
end
##
# @param [Array] children
# @return [Oga::XML::Document]
+1 -3
View File
@@ -84,9 +84,7 @@ module Oga
def parse(&block)
@block = block
yyparse(self, :yield_next_token)
reset
super
return
end