permaculture playing cards*
The moose likes Beginning Java and the fly likes Parse and syntax errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Parse and syntax errors" Watch "Parse and syntax errors" New topic

Parse and syntax errors

Sasha Hernandez

Joined: Oct 14, 2003
Posts: 21
What is the difference between a parse error and a syntax error?
Igor Ko
Ranch Hand

Joined: Jun 24, 2002
Posts: 90
At compilation:
1. programm divide to lexical units,
2. and then from the units, build (and check) grammar structure.
3. .....
So I think "parse error" - error during phase 1,
" syntax error" - error during phase 2.
[ March 15, 2004: Message edited by: Igor Ko ]
wood burning stoves
subject: Parse and syntax errors