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

3.3.5-(3) 的解答有问题

Mutefish0 opened this issue · comments

考虑一个例子:
/* a\" */
它是一个合法的评论却不符合答案所给的形式:
\/\*([^*"]*|".*"|\*+[^/])*\*\/

Wrong again.
image