This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

EXPR_WITH_FILE_LOCATION Tree Nodes


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]