initialize or reset the state for plpgsql_location_to_lineno */
| 562 | |
| 563 | /* initialize or reset the state for plpgsql_location_to_lineno */ |
| 564 | static void |
| 565 | location_lineno_init(void) |
| 566 | { |
| 567 | cur_line_start = scanorig; |
| 568 | cur_line_num = 1; |
| 569 | |
| 570 | cur_line_end = strchr(cur_line_start, '\n'); |
| 571 | } |
| 572 | |
| 573 | /* return the most recently computed lineno */ |
| 574 | int |
no outgoing calls
no test coverage detected