Encode option strings in the string pool
git-svn-id: svn://svn.cc65.org/cc65/trunk@2170 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 1998 Ullrich von Bassewitz */
|
||||
/* Wacholderweg 14 */
|
||||
/* D-70597 Stuttgart */
|
||||
/* EMail: uz@musoftware.de */
|
||||
/* (C) 1998-2003 Ullrich von Bassewitz */
|
||||
/* R<>merstrasse 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
/* */
|
||||
/* */
|
||||
/* This software is provided 'as-is', without any expressed or implied */
|
||||
@@ -60,14 +60,11 @@
|
||||
|
||||
|
||||
/* Structure to encode options */
|
||||
typedef struct Option_ Option;
|
||||
struct Option_ {
|
||||
Option* Next; /* For list of options */
|
||||
typedef struct Option Option;
|
||||
struct Option {
|
||||
Option* Next; /* For list of options */
|
||||
unsigned char Type; /* Type of option */
|
||||
union {
|
||||
const char* Str; /* String attribute */
|
||||
unsigned long Val; /* Value attribute */
|
||||
} V;
|
||||
unsigned long Val; /* Value attribute or string index */
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user