Debian Codegraph @

src/new_features

raw
1 New features in version 1.15:
2 -----------------------------
3 Bug #1638577 (stack corruption when generating a java parser) fixed
4 Bug #1630851 (Targets with empty right-hand side problematic in Java mode) fixed
5
6 New features in version 1.14:
7 -----------------------------
8 generics can be now used in semantic type
9
10 Bug #1598776 ('-Jnodebug' option is broken) fixed
11 Bug #1600683 (error recovery throws ArrayIndexOutOfBoundsException: -1) fixed
12 fixed problem with the name of verbose file
13
14 New features in version 1.13:
15 -----------------------------
16 Bug #1506924 (ArrayIndexOutOfBoundException in yyparse() ) fixed
17 src/t.y example fixed
18
19 New features in version 1.12:
20 -----------------------------
21 Bug #1406129 (-Jclass=X12345678 -> Segmentation fault) fixed
22
23 New features in version 1.11:
24 -----------------------------
25 -d is now supported with -J. It creates interface with token constants
26
27 Workaround for problem when static class initializer of the generated Parser is larger than 64KB.
28
29 Improved performance by removing some unused code and making use of exceptions
30
31 Added "-Jnodebug" option to omit debugging code for further better performance
32
33 Added "-Jfinal" option to make generated class final
34
35 Added "-Jthrows" option to declares thrown exceptions for yyparse() method
36
37 Added the ability to specify options within the grammar file
38
39 New features in version 1.1:
40 ----------------------------
41 Added the option -Jstack=NNN to allow users to set the semantic stack size
42
43 New features in version 1.0:
44 ----------------------------
45
46 The -r option has been implemented. The -r option tells Yacc to
47 put the read-only tables in y.tab.c and the code and variables in
48 y.code.c. Keith Bostic asked for this option so that :yyfix could be
49 eliminated.
50
51 The -l and -t options have been implemented. The -l option tells
52 Yacc not to include #line directives in the code it produces. The -t
53 option causes debugging code to be included in the compiled parser.
54
55 The code for error recovery has been changed to implement the same
56 algorithm as AT&T Yacc. There will still be differences in the way
57 error recovery works because AT&T Yacc uses more default reductions
58 than Berkeley Yacc.
59
60 The environment variable TMPDIR determines the directory where
61 temporary files will be created. If TMPDIR is defined, temporary files
62 will be created in the directory whose pathname is the value of TMPDIR.
63 By default, temporary files are created in /tmp.
64
65 The keywords are now case-insensitive. For example, %nonassoc,
66 %NONASSOC, %NonAssoc, and %nOnAsSoC are all equivalent.
67
68 Commas and semicolons that are not part of C code are treated as
69 commentary.
70
71 Line-end comments, as in BCPL, are permitted. Line-end comments
72 begin with // and end at the next end-of-line. Line-end comments are
73 permitted in C code; they are converted to C comments on output.
74
75 The form of y.output files has been changed to look more like
76 those produced by AT&T Yacc.
77
78 A new kind of declaration has been added. The form of the declaration
79 is
80
81 %ident string
82
83 where string is a sequence of characters begining with a double quote
84 and ending with either a double quote or the next end-of-line, whichever
85 comes first. The declaration will cause a #ident directive to be written
86 near the start of the output file.
87
88 If a parser has been compiled with debugging code, that code can be
89 enabled by setting an environment variable. If the environment variable
90 YYDEBUG is set to 0, debugging output is suppressed. If it is set to 1,
91 debugging output is written to standard output.