lib/junoser/parser.rb in junoser-0.3.6 vs lib/junoser/parser.rb in junoser-0.3.7
- old
+ new
@@ -20,10 +20,11 @@
return true
end
end
begin
- if line =~ /(.*)\s+apply-groups\s+\S+$/
+ # .xsd doesn't include "apply-groups"
+ if line =~ /(.*)\s+apply-groups\s+(\S+|\[.*\])$/
return $1 == 'set' ? true : parse($1)
end
parse line
true