EXPR_WITH_FILE_LOCATION Tree Nodes

Ranjit Mathew rmathew@gmail.com
Wed Feb 9 13:31:00 GMT 2005


Hi,

  While parsing Java source files, the current front-end
creates EWFL wrapper nodes for identifiers, etc. Do I
understand correctly that every statement/expression must
have a wrapper EWFL node?

If yes, why don't methods like build_assignment() return
a MODIFY_EXPR wrapped in an EWFL? And shouldn't setting
EXPR_WFL_LINECOL be valid then only for EWFL nodes?

If not, why does parse_error_context() expect an EWFL
always and barfs when it doesn't get it? (See PR8608, for
example.)

I also note that EWFL was nuked from the rest
of the compiler during the Tree-SSA merge by Jeff
Law.

Thanks,
Ranjit.

-- 
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/



More information about the Java mailing list