Implements parsing an optional tag for defasm.