[Laszlo-dev] getting better source location info from swf9 translation units

André Bargull a.bargull at intensis.de
Sat Jun 7 03:38:44 PDT 2008


btw, I've fixed those compile-errors about two days ago. I can send to 
you a changeset. Are you working on the lzpix-demo for swf9?

> The code in the SWF9 back end generates TranslationUnits for each class or
> definition thatit finds in the parse tree, but a lot of them don't have the
> original lzx source location filled in.
>
> The code in SWF9External finds the translation units OK, but they don't have
> lzx source locator info in them.
>
> For example, in the lzpix app there is no info on the TranslationUnit as to
> the original
> lzx source file for these 'instance-classes'.
>
>
> ERRORS:
> [/tmp/lzswf9/lzgen64642/$lzc$class_selectionmanager_$app$2Elzx_295_60.as: 3]
> line unknown: Incompatible override.
> [/tmp/lzswf9/lzgen64642/$lzc$class_view_$app$2Elzx_400_56.as: 11] line
> unknown: Incorrect number of arguments.  Expected 1.
> [/tmp/lzswf9/lzgen64642/$lzc$class_view_photoscontainer.as: 63] line
> unknown: Incorrect number of arguments.  Expected 1.
> [/tmp/lzswf9/lzgen64642/$lzc$class_search_gSearch.as: 3] line unknown:
> Incompatible override.
> [/tmp/lzswf9/lzgen64642/$lzc$class_photo_$app$2Elzx_331_71.as: 31] line
> unknown: Incompatible override.
> FAIL: compiler returned 0
>
>
> I'm not sure if this info is in the parse tree or not, but if we could put
> it onto the TranslationUnits somehow then the
> error printer could relay that information. The class names themselves have
> some lzx source info, which I guess I could
> regexp out for now, but it seems like we ought to be able to get that info
> relayed from the tag compiler somehow.
>
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com <http://www.openlaszlo.org/mailman/listinfo/laszlo-dev>





More information about the Laszlo-dev mailing list