fool2fish / dragon-book-exercise-answers

Compilers Principles, Techniques, & Tools (purple dragon book) second edition exercise answers. 编译原理(紫龙书)第2版习题答案。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue 2.4.md

ZZZWTGitHub opened this issue · comments

commented

void s() { switch(lookahead) { case '0': match('0');S();match('1'); break; default: report('syntax error') } }

The old code will take string like '001111' witch should not be took

Print ("Hello world")

commented

exm?