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:
marcobaye 2014-11-26 17:30:51 +00:00
parent e85f677cbd
commit 8495ba9ddf
2 changed files with 6 additions and 9 deletions

View File

@ -39,7 +39,7 @@ static enum eos output_objects(void (*fn)(intval_t))
// 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);
}
@ -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_info(void)
//static enum eos PO_print(void)
//{
// return throw_string();
//}
@ -241,10 +240,10 @@ static enum eos PO_serious(void)
// pseudo ocpode table
static struct ronode pseudo_opcodes[] = {
PREDEFNODE(s_08, PO_08),
PREDEFNODE(s_8, PO_08),
PREDEFNODE("by", PO_08),
PREDEFNODE("byte", PO_08),
PREDEFNODE(s_08, PO_8),
PREDEFNODE(s_8, PO_8),
PREDEFNODE("by", PO_8),
PREDEFNODE("byte", PO_8),
PREDEFNODE(s_16, PO_16),
PREDEFNODE("wo", PO_16),
PREDEFNODE("word", PO_16),
@ -258,7 +257,6 @@ static struct ronode pseudo_opcodes[] = {
PREDEFNODE("address", PO_addr),
// PREDEFNODE("debug", PO_debug),
// PREDEFNODE("info", PO_info),
// PREDEFNODE("print", PO_print),
PREDEFNODE("warn", PO_warn),
PREDEFNODE(s_error, PO_error),
PREDEFLAST("serious", PO_serious),

View File

@ -18,8 +18,7 @@
// type definitions
typedef unsigned int hash_t;
// Must be unsigned, otherwise the hash algorithm won't be very useful!
typedef unsigned int hash_t; // 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
struct ronode {