Open
Description
The re2c should track indentation level and insert INDENT / DEDENT tokens. Each INDENT will have a matching DEDENT.
It should return exactly the same token as CPython does:
Links:
- https://docs.python.org/3/reference/compound_stmts.html#grammar-token-suite
- https://cppsecrets.com/users/136429711412197110461031111219710852575364103109971051084699111109/Python-token-INDENT-and-DEDENT.php
- CPython syntax grammar: https://github.com/python/cpython/blob/755be9b1505af591b9f2ee424a6525b6c2b65ce9/Grammar/python.gram