mirror of
https://github.com/uffejakobsen/acme.git
synced 2024-11-22 18:32:09 +00:00
minor edits only
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@45 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
parent
e85f677cbd
commit
8495ba9ddf
12
src/basics.c
12
src/basics.c
@ -39,7 +39,7 @@ static enum eos output_objects(void (*fn)(intval_t))
|
|||||||
|
|
||||||
|
|
||||||
// Insert 8-bit values ("!08" / "!8" / "!by" / "!byte" pseudo opcode)
|
// Insert 8-bit values ("!08" / "!8" / "!by" / "!byte" pseudo opcode)
|
||||||
static enum eos PO_08(void)
|
static enum eos PO_8(void)
|
||||||
{
|
{
|
||||||
return output_objects(Output_8b);
|
return output_objects(Output_8b);
|
||||||
}
|
}
|
||||||
@ -211,7 +211,6 @@ static enum eos throw_string(const char prefix[], void (*fn)(const char *))
|
|||||||
////
|
////
|
||||||
//static enum eos PO_debug(void)
|
//static enum eos PO_debug(void)
|
||||||
//static enum eos PO_info(void)
|
//static enum eos PO_info(void)
|
||||||
//static enum eos PO_print(void)
|
|
||||||
//{
|
//{
|
||||||
// return throw_string();
|
// return throw_string();
|
||||||
//}
|
//}
|
||||||
@ -241,10 +240,10 @@ static enum eos PO_serious(void)
|
|||||||
|
|
||||||
// pseudo ocpode table
|
// pseudo ocpode table
|
||||||
static struct ronode pseudo_opcodes[] = {
|
static struct ronode pseudo_opcodes[] = {
|
||||||
PREDEFNODE(s_08, PO_08),
|
PREDEFNODE(s_08, PO_8),
|
||||||
PREDEFNODE(s_8, PO_08),
|
PREDEFNODE(s_8, PO_8),
|
||||||
PREDEFNODE("by", PO_08),
|
PREDEFNODE("by", PO_8),
|
||||||
PREDEFNODE("byte", PO_08),
|
PREDEFNODE("byte", PO_8),
|
||||||
PREDEFNODE(s_16, PO_16),
|
PREDEFNODE(s_16, PO_16),
|
||||||
PREDEFNODE("wo", PO_16),
|
PREDEFNODE("wo", PO_16),
|
||||||
PREDEFNODE("word", PO_16),
|
PREDEFNODE("word", PO_16),
|
||||||
@ -258,7 +257,6 @@ static struct ronode pseudo_opcodes[] = {
|
|||||||
PREDEFNODE("address", PO_addr),
|
PREDEFNODE("address", PO_addr),
|
||||||
// PREDEFNODE("debug", PO_debug),
|
// PREDEFNODE("debug", PO_debug),
|
||||||
// PREDEFNODE("info", PO_info),
|
// PREDEFNODE("info", PO_info),
|
||||||
// PREDEFNODE("print", PO_print),
|
|
||||||
PREDEFNODE("warn", PO_warn),
|
PREDEFNODE("warn", PO_warn),
|
||||||
PREDEFNODE(s_error, PO_error),
|
PREDEFNODE(s_error, PO_error),
|
||||||
PREDEFLAST("serious", PO_serious),
|
PREDEFLAST("serious", PO_serious),
|
||||||
|
@ -18,8 +18,7 @@
|
|||||||
|
|
||||||
// type definitions
|
// type definitions
|
||||||
|
|
||||||
typedef unsigned int hash_t;
|
typedef unsigned int hash_t; // must be unsigned, otherwise the hash algorithm won't be very useful!
|
||||||
// Must be unsigned, otherwise the hash algorithm won't be very useful!
|
|
||||||
|
|
||||||
// tree node structure type definition for lookups in "read-only" (i.e. keyword) trees
|
// tree node structure type definition for lookups in "read-only" (i.e. keyword) trees
|
||||||
struct ronode {
|
struct ronode {
|
||||||
|
Loading…
Reference in New Issue
Block a user