Change 20091222-hqm-Z by [email protected] on 2009-12-22 12:51:49 EST
    in /Users/hqm/openlaszlo/trunk2
    for http://svn.openlaszlo.org/openlaszlo/trunk


Summary: don't give spurious warning about <anonymous> tags

New Features:

Bugs Fixed:

Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:


Details:

Add <anonymous> as a legal child tag of canvas and library.

+ throw error if user tries to declare a class named "anonymous"


Tests:

smokecheck compiles without warnings

+ Testcase:
<canvas>
  <anonymous>
    <handler name="oninit">Debug.info("Can you hear me now?")</handler>
  </anonymous>
</canvas>
gives warning
  test/anon.lzx:2:13: You may not use the tag name 'anonymous' in user code

Files:
M       WEB-INF/lps/schema/lfc-undeclared.lzx
M       WEB-INF/lps/server/src/org/openlaszlo/compiler/ClassCompiler.java
M       WEB-INF/lps/server/src/org/openlaszlo/compiler/ViewCompiler.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20091222-hqm-Z.tar
_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews

Reply via email to