cvs commit: yasm/libyasm bytecode.c bytecode.h parser.h section.c section.h yasm/modules/parsers/nasm nasm-bison.y nasm-parser.c nasm-parser.h

Peter Johnson peter at cvs.tortall.net
Sun May 4 15:15:09 PDT 2003


peter       2003/05/04 22:15:09 GMT

  YASM CVS Repository

  Modified files:
    libyasm              bytecode.c bytecode.h parser.h section.c 
                         section.h 
    modules/parsers/nasm nasm-bison.y nasm-parser.c nasm-parser.h 
  Log:
  Change how bytecode and section lists are allocated.  When YASM_INTERNAL is not
  defined, the structures for the list heads are not defined, so the existing
  yasm_bcs_initialize() and yasm_sections_initialize() were impossible to use.
  Instead, rename these functions to yasm_bcs_new() and yasm_sections_new() and
  make them allocate the space internally.  Update yasm_bcs_delete() and
  yasm_sections_delete() to free the internally-allocated space.
  
  Revision  Changes    Path
  1.94      +7 -5      yasm/libyasm/bytecode.c
  1.73      +5 -8      yasm/libyasm/bytecode.h
  1.22      +2 -2      yasm/libyasm/parser.h
  1.37      +17 -12    yasm/libyasm/section.c
  1.39      +6 -10     yasm/libyasm/section.h
  1.93      +6 -6      yasm/modules/parsers/nasm/nasm-bison.y
  1.34      +5 -6      yasm/modules/parsers/nasm/nasm-parser.c
  1.7       +2 -2      yasm/modules/parsers/nasm/nasm-parser.h


More information about the yasm-cvs mailing list