cvs commit: src/usr.bin/yacc Makefile defs.h error.c lalr.c main.c mkpar.c output.c reader.c skeleton.c symtab.c verbose.c

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Wed Jan 5 07:26:34 PST 2005


joerg       2005/01/05 07:26:05 PST

DragonFly src repository

  Modified files:
    usr.bin/yacc         Makefile defs.h error.c lalr.c main.c 
                         mkpar.c output.c reader.c skeleton.c 
                         symtab.c verbose.c 
  Log:
  WARNS=6 safeness:
  - GC myname, not used
  - constify a lot of string references
  - remove done(), use atexit instead
  - fix the signal handler, it must not call fclose and can't use exit therefore
  - rename local variables which collidate with globals
  
  Revision  Changes    Path
  1.4       +1 -0      src/usr.bin/yacc/Makefile
  1.5       +31 -33    src/usr.bin/yacc/defs.h
  1.5       +47 -60    src/usr.bin/yacc/error.c
  1.5       +3 -3      src/usr.bin/yacc/lalr.c
  1.5       +18 -12    src/usr.bin/yacc/main.c
  1.5       +6 -6      src/usr.bin/yacc/mkpar.c
  1.5       +4 -4      src/usr.bin/yacc/output.c
  1.5       +22 -21    src/usr.bin/yacc/reader.c
  1.5       +12 -21    src/usr.bin/yacc/skeleton.c
  1.5       +4 -4      src/usr.bin/yacc/symtab.c
  1.5       +7 -7      src/usr.bin/yacc/verbose.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/yacc/Makefile.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/yacc/defs.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/yacc/error.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/yacc/lalr.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/yacc/main.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/yacc/mkpar.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/yacc/output.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/yacc/reader.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/yacc/symtab.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/yacc/verbose.c.diff?r1=1.4&r2=1.5&f=u





More information about the Commits mailing list