Returns false instead of aborting when there is nothing to pop, so that no input can terminate the host process through this path.
| 113 | // Returns false instead of aborting when there is nothing to pop, so that no |
| 114 | // input can terminate the host process through this path. |
| 115 | static inline bool stack_pop(Stack *stack) { |
| 116 | if (stack->size < 2) return false; |
| 117 | stack->size -= 2; |
| 118 | return true; |
| 119 | } |
| 120 | |
| 121 | static inline void skip(TSLexer *lexer) { lexer->advance(lexer, true); } |
| 122 |
no outgoing calls
no test coverage detected