shithub: scc

Download patch

ref: 60e2f95ebabb259c85515101a52aca843490fbc2
parent: 3ff81f0b0e0ae86bf5401a358d7775038f348c69
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Jan 29 05:26:26 EST 2016

[cc2] Change addable() to addresability()

Addable was to criptic and although addressability is too long, in this
case I think is better to be a bit verbose.

--- a/cc2/arch/amd64-sysv/cgen.c
+++ b/cc2/arch/amd64-sysv/cgen.c
@@ -8,6 +8,6 @@
 }
 
 void
-addable(void)
+addressability(void)
 {
 }
--- a/cc2/arch/i386-sysv/cgen.c
+++ b/cc2/arch/i386-sysv/cgen.c
@@ -8,6 +8,6 @@
 }
 
 void
-addable(void)
+addressability(void)
 {
 }
--- a/cc2/arch/z80/cgen.c
+++ b/cc2/arch/z80/cgen.c
@@ -8,6 +8,6 @@
 }
 
 void
-addable(void)
+addressability(void)
 {
 }
--- a/cc2/cc2.h
+++ b/cc2/cc2.h
@@ -155,7 +155,7 @@
 extern void optimize(void);
 
 /* cgen.c */
-extern void addable(void);
+extern void addressability(void);
 extern void generate(void);
 
 /* peep.c */
--- a/cc2/main.c
+++ b/cc2/main.c
@@ -39,7 +39,7 @@
 	while (moreinput()) {
 		parse();
 		optimize();
-		addable();
+		addressability();
 		generate();
 		peephole();
 		writeout();