Moved ending tags into their own racc rule.
Added a license.