| 10833 | |
| 10834 | |
| 10835 | bool Line::EvaluateLoopUntil(ResultType &aResult) |
| 10836 | { |
| 10837 | g_script.mCurrLine = this; // For error-reporting purposes. |
| 10838 | if (g->ListLinesIsEnabled) |
| 10839 | LOG_LINE(this); |
| 10840 | #ifdef CONFIG_DEBUGGER |
| 10841 | // Let the debugger break at or step onto UNTIL. |
| 10842 | if (g_Debugger.IsConnected()) |
| 10843 | g_Debugger.PreExecLine(this); |
| 10844 | #endif |
| 10845 | aResult = ExpandArgs(); |
| 10846 | if (aResult != OK) |
| 10847 | return true; // i.e. if it fails, break the loop. |
| 10848 | aResult = LOOP_BREAK; // Break out of any recursive PerformLoopXxx() calls. |
| 10849 | return ResultToBOOL(ARG1); // See PerformLoopWhile() above for comments about this line. |
| 10850 | } |
| 10851 | |
| 10852 | |
| 10853 |
nothing calls this directly
no test coverage detected