LangProc / langproc-2021-lab

2 stars 4 forks source link

EOF Matching #46

Closed jf-eng closed 2 years ago

jf-eng commented 2 years ago

Hi, I was wondering if we need to have a rule for end of file matching for None to be returned or can we assume that 0 will be returned by yyflex() by default once we reach the end of the file?

ymherklotz commented 2 years ago

It should handle the end of file by default I believe.