fool2fish / dragon-book-exercise-answers

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

Update 4.6.md fix wrong answers. #199

Open ax7e opened 2 years ago

ax7e commented 2 years ago

Since $B\to aBAB, B\to \epsilon$, then $FOLLOW(A) = FOLLOW(A) \cup FOLLOW(B)$, so $FOLLOW(A) = {+,*,a,$}$.