Certainly there are file/line numbers in the debug version of the LFC.  It may 
be that in non-debug mode the annotation is just never inserted.  I think the 
tag compiler always inserts annotations before passing to the script compiler, 
and the script compiler may not emit them if it is not in debug mode; but maybe 
for pure script, there are no annotations to start with?

I'll have to look more closely.

On 2010-04-18, at 14:31, Henry Minsky wrote:

> I am trying to get the swf10 buildlfc compile to be able to run using
> the flex incremental mode. To do this,
> I need to have the scriptcompiler's TranslationUnits point back to the
> source file that they are generated from,
> so that I can decide whether the  source file has been modified since
> the last time the intermediate .as file was written.
> 
> When I look at the TranslationUnits when I run lzsc, they don't have
> any info about what original file they came from.
> There is some marker in ParseTreePrinter that decides whether to make
> source file line number annotations, which
> seems to be not being used when compiling the LFC?  I see line number
> annotations when I compile lzx code, but
> not when I run the buildlfc task...
> 
> 
> -- 
> Henry Minsky
> Software Architect
> [email protected]


Reply via email to