Finalize_TokenStack Subroutine

public subroutine Finalize_TokenStack(stack)

Arguments

TypeIntentOptionalAttributesName
class(TokenStack), intent(inout) :: stack

Contents

Source Code


Source Code

  subroutine Finalize_TokenStack(stack)
    class(TokenStack),intent(inout) :: stack

    if(allocated(stack%tokens)) deallocate(stack%tokens)

  endsubroutine Finalize_TokenStack