Fix compilation of add-resource tag.

It used the wrong tag-type to find the end of itself.
1 file changed