DoctorWkt/acwj

Part 8: new token related issue

Psycho7 opened this issue · 2 comments

After introducing new tokens, many places need modification of course.
It's not hard for someone to realize we need to change defs.h and scan.c, but some files are easily ignored at first.

For example the following change, this one really took me a lot of time to figure out why my code wasn't working as expected 😭

if (tokentype == T_SEMI || tokentype == T_RPAREN)

if (tokentype == T_SEMI || tokentype == T_RPAREN)

I'm sad that you had problems here. Can you suggest an improvement I can make to the Readme or code which would have helped? Thanks.

Hi @DoctorWkt . Probably just mentioning the changes in readme would be great.