Opened 15 years ago

Closed 15 years ago

#315 closed defect (fixed)

Set source file when constructing AST nodes

Reported by: zirkel Owned by: stachnik
Priority: major Milestone: 1.1
Component: ast Version: 1.1
Keywords: Cc:

Description

When the source information is set, the File field is currently left as null. This causes a null pointer exception whenever TASS tries to print the source.

Change History (3)

comment:1 by Stephen Siegel, 15 years ago

I got rid of the null pointer exception in the Source class by checking whether file is null.
But this still has to be fixed.
Is the problem in the ast module, or the Clang module?

comment:2 by zirkel, 15 years ago

Seems to be at least partially in ast, based on this comment in ast.parser.LeafSourceParser.java:

//FIXME: Actually get file instead of passing in null

comment:3 by stachnik, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in rev. 2329

Note: See TracTickets for help on using tickets.