| LLK ChangesThe major change that may given to many troubles is change inutilprojectCLIUtilthat now require to use--for long options as in--longoptand allow multiple short
        options as in-aeiou.
            Grammar
                CHANGE - Renamed lexer grammar option LexerTokenUseTexttoTokenUseText.NEW - Added lexer grammar option TokenUseIntern. When it isonandTokenUseTextoptions ison, thellkCreateTokenmethods:
    llkCreateToken(int type);
    llkCreateToken(int type, int start, int end);
    llkCreateToken(int type, int start, int end, Object data);
automatically intern all the literal token text and token text that is 8 characters or less using anSingletonSet. Default isdisabled. This is also anString
                llkIntern(String s)method that can be used to intern any text, eg:
    llkCreateToken(type, start, end, llkIntern(text), null);
 Implementation
                CHANGE - Code generator no longer add finalmodifier to the generated rule methods. Support Projects Changes
            llk-share
                NEW - Added ILLKTreeParser.CHANGE - Renamed ILLKNode.getModifier()andILLKNode.setModifier(int mod)togetModifiers()andsetModifiers(int
                mod).CHANGE - ILLKNodenow extendsList<ILLKNode>althoughLLKNode.templateleft most extra methods in theListinterface as unsupported.CHANGE - Removed ILLKMain.exit()andSimpleLLKMain.exit()method which is not a good practice, throw aRuntimeExceptioninstead.CHANGE - SimpleLLKMain.getFileContent(String fpath, Charset charset)now read fromSystem.inif file path is "-". llk-share-formatter
                FIXED - emitDotSuffix() that emitted extra spaces when oneliner fails. util
                CHANGE - Getopt support stuffs are moved from the Msgclass to theCLIUtilclass.CHANGE - Long options now must be prefixed by "--" and multiple
                short options can now be specified in single option (eg. -abc stands for -a -b -c). This affects all
                command line utilities in the LLK and support projects.CHANGE- TextUtil.splitLines()andTextUtil.removeFirstLine()now ignore \\ escaped CR and LF.CHANGE - Refactored TextUtil.readFile()methods toFileUtil.asChars(), ... etc. methods. fireant
                See change for fireantproject here. Sample Grammar Changes
            Generalllk-java-model
                NEW - Added formatter options:
                
                    compactStatementBlock- remove blank lines between statements.compactCloseBrace- put multiple consecutive close braces on the
                    same line.FIXED - Parser grammar to accept interface, enum declarations inside
                compound statements.FIXED - Special tokens eg. CPPCOMMENTthat follows on the same
                line as end of a multi-line comment is not formatted correctly.FIXED - Fixed problem that blank lines between statements in constructoris not preserved. llk-csharp-model
                NEW - Added formatter options:
                
                    compactStatementBlock- remove blank lines between statements.compactCloseBrace- put multiple consecutive close braces on the
                    same line.FIXED - Special tokens eg. CPPCOMMENTthat follows on the same line as
                end of a multi-line comment is not formatted correctly. llk-html
                CHANGE - End tag for empty tag (eg. link) is now ignored and generate warnings
                instead of generating end tag mismatch error.CHANGE - Added format style BLOCK1which format the block tag as
                oneliner only if it has no more than one child (eg. for TR tag). llk-xhtml
                CHANGE - XHTML tag not lower case is now a warning instead of error.CHANGE - Added format style BLOCK1which format the block tag as
                oneliner only if it has no more than one child (eg. for TR tag). llk-xml
                CHANGE - Moved XMLSpaceUtil.javatoutilproject.CHANGE - XMLFormatternow would not put more than one element on the
                same line and only try to format leaf elements as oneliner. |