This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Parse and syntax errors" Watch "Parse and syntax errors" New topic
Author

Parse and syntax errors

Sasha Hernandez
Greenhorn

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 ]
 
 
subject: Parse and syntax errors
 
Similar Threads
Divide BigDecimal by Integer
sql query returning duplicates
//comments
Expression Language Doubt
problem with JNI( compiling .C file)