* errposition --- add cursor position to the current error */
| 1510 | * errposition --- add cursor position to the current error |
| 1511 | */ |
| 1512 | int |
| 1513 | errposition(int cursorpos) |
| 1514 | { |
| 1515 | ErrorData *edata = &errordata[errordata_stack_depth]; |
| 1516 | |
| 1517 | /* we don't bother incrementing recursion_depth */ |
| 1518 | CHECK_STACK_DEPTH(); |
| 1519 | |
| 1520 | edata->cursorpos = cursorpos; |
| 1521 | |
| 1522 | return 0; |
| 1523 | } |
| 1524 | |
| 1525 | /* |
| 1526 | * errprintstack -- force print out stack trace |
no outgoing calls