projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
That wasn't such a good idea
[fw/sdcc]
/
src
/
port.h
diff --git
a/src/port.h
b/src/port.h
index d53dd0ce0b68879288cdc2d074734b705d408083..3e8339e64a759b47104cc0f4a8280c575e58c58b 100644
(file)
--- a/
src/port.h
+++ b/
src/port.h
@@
-55,11
+55,13
@@
typedef struct
/* assembler related information */
struct
{
/* assembler related information */
struct
{
-/** Command to run and arguments (eg as-z80) */
- const char **cmd;
-/** Arguments for debug mode. PENDING: ignored */
+ /** Command to run and arguments (eg as-z80) */
+ const char **cmd;
+ /** Alternate macro based form. */
+ const char *mcmd;
+ /** Arguments for debug mode. PENDING: ignored */
const char *debug_opts;
const char *debug_opts;
-/** Arguments for normal assembly mode. PENDING: ignored */
+
/** Arguments for normal assembly mode. PENDING: ignored */
const char *plain_opts;
/* print externs as global */
int externGlobal;
const char *plain_opts;
/* print externs as global */
int externGlobal;
@@
-71,11
+73,13
@@
typedef struct
/* linker related info */
struct
{
/* linker related info */
struct
{
-/** Command to run (eg link-z80) */
+
/** Command to run (eg link-z80) */
const char **cmd;
const char **cmd;
-/** If non-null will be used to execute the link. */
+ /** Alternate macro based form. */
+ const char *mcmd;
+ /** If non-null will be used to execute the link. */
void (*do_link) (void);
void (*do_link) (void);
-/** Extention for object files (.rel, .obj, ...) */
+
/** Extention for object files (.rel, .obj, ...) */
const char *rel_ext;
}
linker;
const char *rel_ext;
}
linker;
@@
-214,6
+218,8
@@
typedef struct
bool ne_neq; /* transform a != b --> ! (a == b) */
bool eq_nne; /* transform a == b --> ! (a != b) */
bool ne_neq; /* transform a != b --> ! (a == b) */
bool eq_nne; /* transform a == b --> ! (a != b) */
+ bool arrayInitializerSuppported;
+
#define PORT_MAGIC 0xAC32
/** Used at runtime to detect if this structure has been completly filled in. */
int magic;
#define PORT_MAGIC 0xAC32
/** Used at runtime to detect if this structure has been completly filled in. */
int magic;