Change 20061213-ptw-3 by [EMAIL PROTECTED] on 2006-12-13
16:17:53 EST
in /Users/ptw/OpenLaszlo/legals-1
Summary: Some accumulated tweaks to make life better
Technical Reviewer: henry (pending)
QA Reviewer: ben (pending)
Doc Reviewer: (pending)
Details:
buildlfc: wrap line for legibility
LzDebug.js: don't inspect non-objects
LzFormat.lzs: uncomment code accidentally swallowed by doc-comment
conversion
LzRuntime.lzs: correct comment
Parser.jjt, ParseException.java: Make it so an unterminated string
signals a useful error that will indicate the file, line, column
where the string is found, and include the string fragment, so
that is is possible do actually do something about it!
Compiler.java: teeny compression tweak: emit ints as ints not
floats.
build.xml: the parser depends on _all_ the files in the source
dir, not just the jjt file.
Tests:
Manually introduced an unterminated string in the LFC and got a
meaningful error. ant lztest
Files:
M WEB-INF/lps/lfc/buildlfc
M WEB-INF/lps/lfc/debugger/platform/dhtml/LzDebug.js
M WEB-INF/lps/lfc/debugger/LzFormat.lzs
M WEB-INF/lps/lfc/compiler/LzRuntime.lzs
M WEB-INF/lps/server/sc/src/org/openlaszlo/sc/Parser.jjt
M WEB-INF/lps/server/sc/src/org/openlaszlo/sc/parser/
ParseException.java
M WEB-INF/lps/server/src/org/openlaszlo/sc/Compiler.java
M WEB-INF/lps/server/build.xml
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20061213-
ptw-3.tar