source: trunk/yao/share/antlr-2.7.7/CHANGES.txt @ 1

Last change on this file since 1 was 1, checked in by lnalod, 15 years ago

Initial import of YAO sources

  • Property svn:eol-style set to native
File size: 4.4 KB
Line 
1Changes with Antlr 2.7.7
2
3# Terence Parr
4
5* updated BaseAST.java to make the doWorkForAll method static. Same
6behaviour, except no ClassCastExceptions when sibling.getFirstChild()
7happens to return an AST that doesn't extend BaseAST.  Oliver Wong contributed
8the patch.
9
10* updated TokenStreamRewriteEngine.java to reflect bug fixes discovered
11in v3 counterpart.
12
13# Wolfgang Haefelinger
14  * changing version to 2.7.7
15
16  * configure*,scripts/csc.sh.in,*/AssemblyInfo.cs
17    building of strong assemblies supported - default is building of
18    "weak" assemblies as before. Option --with-strong-assemblies=ARG
19    enables strong assemblies (ARG must point to a keyfile). Such an
20    assembly allows to be called by a partially trusted caller. This
21    can be disabled by --disable-allow-partially-trusted-callers (if
22    APTC is disabled, examples may not compile if located on network
23    drive).
24
25  * antlr/Makefile.in: couple of missing *.java files - missing in 2.7.6 -
26    added.
27
28  * examples/cpp/heteroAST/*: fixed problem of missing include dir; example
29    compiles and tests fine.
30
31  * examples/cpp/Makefile.in: enabled all directories (+ heteroAST and
32    flexLexer).
33
34  * configure*, scripts/config.deps.in: fixes to reflect directory naming
35    changes in C#.
36
37  * examples/csharp/Makefile.in: disabled "broken" example HTML.
38   
39  * lib/python/antlr/antlr.py: fixed "hideen" type reported by Andrew
40    McCulloh
41
42Changes with Antlr 2.7.6
43
44# Terence Parr
45o added size, index methods to TokenStreamRewriteEngine.java
46
47o bug in syn preds for tree parsers.  Submitted by Ole Kniemeyer.
48
49o all Class.forName yanked out; uses thread context loader
50
51o option to prevent System.exit termination
52
53o added recover() method to lexers
54
55o fixed code gen bug for syn preds in tree parsers.  Thanks to Marc Horowitz.
56
57o BaseAST was not checking for null text in toString()
58
59o Scott added java line ouput in code gen
60
61o Prashant tweaked a few things for ANTLRStudio; a few new classes in ASdebug package
62
63# Ric Klaren:
64
65- Give errors if the user attempts to set k>1 in a TreeWalker
66
67- Added missing Makefile.in for C++ heteroAST example and enabled it
68  in configure.in
69
70- Many small C++ support code and codegen tweaks fixes to increase
71  portability. (Compaq Tru64 UNIX V5.1, VC's)
72
73- Prevent '\' entering the bitset dump comments, might occur at end of
74  line. Some compilers continue the comment to the next line (not sure
75  if this is a compiler bug, should look it up)
76
77For the thanks & kudos:
78
79Among others thanks to Stuart Dootson, Bryan Ewbank, Kurt McCall and
80a number of others who submitted patches. (my administration wasn't too
81well this time)
82
83# Wolfgang Haefelinger
84
85  *) configure.* : support for 'fastjar' added  -fastjar will be preferred
86     if jar and fastjar are available [geronimo, Nov 30th 2005].
87
88  *) configure.*: fixed --with-bootclasspath error; configure --help
89     incorrectly displayed this option as "--bootclasspath".  Thanks
90     to Paul Jenner for reporting [geronimo, Nov 13th 2005].
91     
92  *) antlr/PythonCodeGenerator.java: fixed problems with raising
93     exceptions `SemanticException' and `MismatchedTokenException'
94     unknown in current namespace. Thanks to Klaas Hofstra and
95     Benjamin Niemann for reporting [geronimo, Nov 13th 2005].
96
97  *) examples/python/tinybasic/basic.g: fixed the unary MINUS problem
98     reported by Klaas Hofstra [geronimo, Nov 13th 2005].
99
100  *) configure*,scripts/[cxx|link].sh.in: Changes made by Kurt McCall
101     added to support Tru64 Unix (version V5.1, Rev. 732) along with
102     COMPAC/DEC CXX (version V6.5-042) [geronimo, Nov 13th 2005].
103
104  *) antlr/PythonCodeGenerator.java: 'inputState.guessing' bug reported
105     by Chris Minnoy and  Benjamin Niemann fixed [Mark Kole, Jul 4th 2005].
106
107  *) lib/python/antlr/antlr.py: removed all 'tabs'; applied changes of patch
108     `1126872211596/antlr.py.patch' regarding getting line and column number.
109     Unknown patch contribution [geronimo, Nov 13th 2005].
110
111# Changes for C# support (by Kunle Odutola & Micheal Jordan):
112
113-- Fixed isssue where an empty input stream caused an exception in the lexer
114due to the
115   caching of LA1 and LA2. StringTemplate triggers this.
116
117-- The rewind() method did not take into account the value of the case
118insensitive flag.
119   Reported by Dr. Hartmut Kocher.
120
121--  ***BREAKING CHANGE*** ASTPair object pool had a race condition in
122multi-threaded
123    environments. ASTPair is now a struct.
124
125--  C# examples now properly initialize the ASTFactory before a tree parser
126is used.
Note: See TracBrowser for help on using the repository browser.