|
|
|
[
Permlink
| « Hide
]
Zvi Schreiber - 22/Mar/07 11:00 AM
E.g. open the following program <canvas oninit="${}"/> with ?lzr=dhtml
Temporary work-around is to compile with lzt=swf7 to get proper syntax errors.
r4518 | ptw | 2007-03-27 13:20:27 -0400 (Tue, 27 Mar 2007) | 32 lines
Changed paths: M /openlaszlo/branches/legals/WEB-INF/lps/server/sc/src/org/openlaszlo/sc/Parser.jjt M /openlaszlo/branches/legals/WEB-INF/lps/server/sc/src/org/openlaszlo/sc/parser/ParseException.java M /openlaszlo/branches/legals/WEB-INF/lps/server/src/org/openlaszlo/compiler/CompilationEnvironment.java M /openlaszlo/branches/legals/WEB-INF/lps/server/src/org/openlaszlo/compiler/CompilationError.java M /openlaszlo/branches/legals/WEB-INF/lps/server/src/org/openlaszlo/compiler/DHTMLWriter.java M /openlaszlo/branches/legals/WEB-INF/lps/server/src/org/openlaszlo/sc/Compiler.java Change 20070327-ptw-7 by ptw@dueling-banjos.local on 2007-03-27 08:10:38 EDT in /Users/ptw/OpenLaszlo/legals-1 for http://svn.openlaszlo.org/openlaszlo/branches/legals Summary: DHTML compiler signals parse errors properly Bugs Fixed: Technical Reviewer: hminsky (Message-ID: <8c61fad60703270847h59d473a7k84c4d129b0b4c696@mail.gmail.com>) QA Reviewer: max (pending) Doc Reviewer: n/a Details: Compiler: Set pathname on ParseException, to make up for javacc shortcoming DHTMLWriter: Trampoline compiler exceptions into errors. CompilationEnvironment: Pass source locations to script compiler. Canonicalize pathnames when adjusting. CompilationError: Take file and location from ParseException's. Parser.jjt: Make pathname public. ParseException: Add an interface to hold the pathname. Tests: Test case from bug report (trunk 4 build r8223)
Compilation error less confusing. |
||||||||||||||||||||||||||||||||||||||||||||||||||||