* @brief Frees the memory allocated by Temp * * @param Temp the token representing the temporary variable * @return VOID */
| 690 | * @return VOID |
| 691 | */ |
| 692 | VOID |
| 693 | FreeTemp(PSCRIPT_ENGINE_TOKEN Temp) |
| 694 | { |
| 695 | INT Id = (INT)DecimalToInt(Temp->Value); |
| 696 | if (Temp->Type == TEMP || Temp->Type == DEFERENCE_TEMP) |
| 697 | { |
| 698 | CurrentUserDefinedFunction->TempMap[Id] = 0; |
| 699 | } |
| 700 | } |
| 701 | |
| 702 | /** |
| 703 | * @brief Checks whether this Token type is OneOpFunc1 |
no test coverage detected