We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

The latest version of the book is P4.0, released over 3 years ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

Key: Typo Tech. Error Suggestion Not a problem Next edition

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:  

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
29
#46927: For grammar file T.g, if you're creating this manually, make sure there is a blank line at the end of the file. It seems that ending with a si...more...
P4.0
23-Apr-11
62
#49220: When running the Expr test for 'trees' the book text says: BEGIN QUOTE First ask ANTLR to translate Expr.g to Java code and compile as y...more...
P4.0
27-Apr-12
83

#47158: Figure 4.2: r^ (last sentence) Rule r should must a single node, not a subtree.

P4.0
02-Jun-11
141

#48705: r @init { Token myFirstToken = $start; // do me first }

should this not be:
...
Token myFirstToken = $r.start;--Achim Rumberger

P4.0
11-Feb-12
153
#47172: footnote 3 contains a broken link. (I can't post the link or the link to the correct page because pragprog system think I'm spamming if I do s...more...
P4.0
08-Jun-11
159

#47242: The link in the footnote is broken(page not found).--Yun

P4.0
01-Jul-11
170

#46719: MyParser parser = new MParser(tokens,symtab);
should be
MyParser parser = new MyParser(tokens,symtab);

P3.0
02-Apr-11
223
#49710: "Generating templates behaves just like generating trees using rewrite rules.Each rule implicitly returns a template or tree, and the -> rewri...more...
P1.0
17-Aug-12
301
#48751: Last paragraph, first sentence: The problem is that the looping subrule in declarator_specifiers... should be: The problem is that the loop...more...
P4.0
17-Feb-12