Home
last modified time | relevance | path

Searched refs:CURRENT_POS (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Parser/
H A Dpegen.h27 #define CURRENT_POS (-5) macro
171 Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1); in RAISE_ERROR_KNOWN_LOCATION()
172 Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1); in RAISE_ERROR_KNOWN_LOCATION()
184 RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
H A Dpegen_errors.c296 if (end_lineno == CURRENT_POS) { in _PyPegen_raise_error_known_location()
299 if (end_col_offset == CURRENT_POS) { in _PyPegen_raise_error_known_location()

Completed in 3 milliseconds