File: README.Debian

package info (click to toggle)
btyacc 3.0-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 456 kB
  • ctags: 550
  • sloc: ansic: 6,562; yacc: 1,902; makefile: 103; sh: 13
file content (32 lines) | stat: -rw-r--r-- 1,141 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
btyacc for Debian
-----------------

A number of small bugfixes have been applied to this Debian version of
btyacc:

- Using "$<type>0" in a rule no longer causes btyacc to crash or
  the generated parser to behave incorrectly.

- The generated parser does no longer depend on TRUE being defined.

- Generated files use the suffixes ".tab.h .tab.c .code.c" rather than
  "_tab.h _tab.c _code.c"

- The default definitions of YYDELETEVAL and YYDELETEPOSN (i.e. the
  ones used if you don't #define your own) have been changed to take
  two arguments.

- The default rule action of btyacc was to zero out $$ using memset. 
  In order to get closer to bison compatibility, the default has been
  changed to "$$=$1". You can still get the original behaviour with a
  "#define _YACC_DEFAULT_ACTION_" in your grammar file.

- Temporary files are created in a secure manner, using mkstemp()
  rather than mktemp().

Furthermore, in /usr/doc/btyacc/examples/btyacc-c.ske a parser
skeleton is supplied which compiles not only as C++ like upstream's
btyaccpa.ske, but also as C.


Richard Atterer <atterer@debian.org>  Tue,  3 Jul 2001 21:59:14 +0200