|
|
|
[
Permlink
| « Hide
]
P T Withington - 10/Dec/07 09:17 AM
Don, we need to figure out if 'internal' has to be a keyword, or if it can be context-sensitive. I know es4 tried to limit the new keywords it introduced. If it is in fact a keyword, this code will just have to be fixed. (Maybe the error message from the compiler could be more helpful).
------------------------------------------------------------------------ r7499 | dda | 2007-12-10 19:01:11 -0500 (Mon, 10 Dec 2007) | 37 lines Changed paths: M /openlaszlo/trunk/WEB-INF/lps/server/sc/src/org/openlaszlo/sc/Parser.jjt Change 20071210-dda-l by dda@freddie.local on 2007-12-10 16:16:47 EST in /Users/dda/laszlo/src/svn/openlaszlo/trunk for http://svn.openlaszlo.org/openlaszlo/trunk Summary: Allow certain new keywords to be identifiers New Features: none Bugs Fixed: Technical Reviewer: ptw QA Reviewer: hminsky Doc Reviewer: (pending) Documentation: none Release Notes: none Details: New keywords: internal, final, override, dynamic, static can be identifiers. Confirmed with SWF9 third party compiler that these are allowed, and also that public/private/protected are not allowed (oddly enough). Made a common shared function in the grammar to get maximal code sharing. This change fixes a problem exposed by the addition of the new keywords. We need the keywords to make changes to LFC files that will be shared among runtimes. Tests: http://localhost:8080/trunk/examples/components/style_example.lzx with SWF7 (the reported test case), also SWF8 and DHTML. smokecheck SWF8, DHTML Tried some .lzs files mentioned in new keywords are still accepted in the appropriate places. ------------------------------------------------------------------------ |
||||||||||||||||||||||||||||||||||||||||||||||||||