turns out the solution is simpler than i thought.
just adding `Lexer` to the typedef struct like in the screenshot below makes `struct Lexer*` and `Lexer*` identical pointer types to each other, which does make sense in hindsight, but is quite annoying either way
just adding `Lexer` to the typedef struct like in the screenshot below makes `struct Lexer*` and `Lexer*` identical pointer types to each other, which does make sense in hindsight, but is quite annoying either way
Comments
morale - don't blindly trust common practices!!