[hackers] [scc] Change end of parameters symbol || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Wed, 23 Sep 2015 20:29:30 +0200 (CEST)

commit 828c43bb708253129804d15ebf32a711be93cd47
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Sep 23 20:18:50 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Sep 23 20:28:25 2015 +0200

    Change end of parameters symbol
    
    - was used for subs, so it was ambiguous.

diff --git a/cc1/code.c b/cc1/code.c
index e369212..50945fc 100644
--- a/cc1/code.c
+++ b/cc1/code.c
_AT_@ -361,7 +361,7 @@ emitfun(unsigned op, void *arg)
                 (*sp)->flags &= ~ISUSED;
                 emit(ODECL, *sp);
         }
- puts("-");
+ puts("\\");
 }
 
 static void
diff --git a/cc1/tests/test001.c b/cc1/tests/test001.c
index 05c043d..32629f9 100644
--- a/cc1/tests/test001.c
+++ b/cc1/tests/test001.c
_AT_@ -7,7 +7,7 @@ X1 F3 printf
 F1
 G2 F1 main
 {
--
+\
 	X1	"68656C6C6F20776F726C640A	'P	pP	cI
 	r	#I0
 }
diff --git a/cc1/tests/test002.c b/cc1/tests/test002.c
index a3ce5fd..116647e 100644
--- a/cc1/tests/test002.c
+++ b/cc1/tests/test002.c
_AT_@ -6,7 +6,7 @@ G4	P	x
 F1
 G7	F1	main
 {
--
+\
 S2	S
 M5	I	i
 M6	P	next
diff --git a/cc1/tests/test003.c b/cc1/tests/test003.c
index 823d32b..30e59e8 100644
--- a/cc1/tests/test003.c
+++ b/cc1/tests/test003.c
_AT_@ -5,17 +5,17 @@ output:
 F1
 G1	F1	foo
 {
--
+\
 	r	#I2A
 }
 G2	F1	bar
 {
--
+\
 	r	#I18
 }
 G3	F1	main
 {
--
+\
 	r	G1	cI
 }
 */
diff --git a/cc1/tests/test004.c b/cc1/tests/test004.c
index 2a1d78b..8a6675e 100644
--- a/cc1/tests/test004.c
+++ b/cc1/tests/test004.c
_AT_@ -5,7 +5,7 @@ output:
 F1
 G1	F1	main
 {
--
+\
 A2	I	x
 	A2	#I0	:I
 	A2	A2	#I2	+I	:I
diff --git a/cc1/tests/test005.c b/cc1/tests/test005.c
index b27fd35..11a5b4f 100644
--- a/cc1/tests/test005.c
+++ b/cc1/tests/test005.c
_AT_@ -5,7 +5,7 @@ output:
 F1
 G1	F1	main
 {
--
+\
 A2	I	x
 	A2	#I3	:I
 	A2	A2	#I0	=I	:I
diff --git a/cc1/tests/test006.c b/cc1/tests/test006.c
index ee0f626..40c310e 100644
--- a/cc1/tests/test006.c
+++ b/cc1/tests/test006.c
_AT_@ -9,7 +9,7 @@ G1	K	c
 F1
 G2	F1	main
 {
--
+\
 	j	L2	#I0
 	r	#I1
 	j	L3
diff --git a/cc1/tests/test007.c b/cc1/tests/test007.c
index d0ac131..ef5bcbb 100644
--- a/cc1/tests/test007.c
+++ b/cc1/tests/test007.c
_AT_@ -5,7 +5,7 @@ output:
 F1
 G1	F1	main
 {
--
+\
 A2	I	x
 	A2	#IA	:I
 	j	L5
diff --git a/cc1/tests/test008.c b/cc1/tests/test008.c
index 9542810..656af04 100644
--- a/cc1/tests/test008.c
+++ b/cc1/tests/test008.c
_AT_@ -5,7 +5,7 @@ output:
 F1
 G1	F1	main
 {
--
+\
 A2	I	x
 	A2	#I0	:I
 	d
diff --git a/cc1/tests/test009.c b/cc1/tests/test009.c
index 19994cb..54e5f3f 100644
--- a/cc1/tests/test009.c
+++ b/cc1/tests/test009.c
_AT_@ -5,7 +5,7 @@ output:
 F1
 G1	F1	main
 {
--
+\
 A2	I	x
 	A2	#I0	:I
 	j	L5
diff --git a/cc1/tests/test010.c b/cc1/tests/test010.c
index 42ba06a..5fb692d 100644
--- a/cc1/tests/test010.c
+++ b/cc1/tests/test010.c
_AT_@ -8,7 +8,7 @@ test010.c:31: warning: conditional expression is constant
 F1
 G1	F1	main
 {
--
+\
 A2	I	x
 	A2	#I0	:I
 	j	L5
diff --git a/cc1/tests/test011.c b/cc1/tests/test011.c
index 937d7c5..ffae3e2 100644
--- a/cc1/tests/test011.c
+++ b/cc1/tests/test011.c
_AT_@ -7,7 +7,7 @@ test011.c:14: warning: 'start' defined but not used
 F1
 G1	F1	main
 {
--
+\
 L2
 	j	L3
 	r	#I1
diff --git a/cc1/tests/test012.c b/cc1/tests/test012.c
index 014bd4e..d44cb75 100644
--- a/cc1/tests/test012.c
+++ b/cc1/tests/test012.c
_AT_@ -6,7 +6,7 @@ test012.c:39: warning: 'foo' defined but not used
 F1
 G1	F1	main
 {
--
+\
 A2	I	x
 	A2	#I0	:I
 	s	L4	A2
diff --git a/cc1/tests/test013.c b/cc1/tests/test013.c
index 92a40f4..73c49a3 100644
--- a/cc1/tests/test013.c
+++ b/cc1/tests/test013.c
_AT_@ -19,7 +19,7 @@ G11	N	k
 F1
 G12	F1	main
 {
--
+\
 	G1	G2	NI	:I
 	G1	G3	KI	:I
 	G1	G4	CI	:I
diff --git a/cc1/tests/test014.c b/cc1/tests/test014.c
index ba8d16b..d4c4bc5 100644
--- a/cc1/tests/test014.c
+++ b/cc1/tests/test014.c
_AT_@ -17,7 +17,7 @@ X3	I	c
 F1
 G5	F1	func1
 {
--
+\
 A2	I	h
 T3	K	i
 R4	W	j
_AT_@ -29,13 +29,13 @@ F2	I
 G6	F2	func2
 {
 R1	I	par
--
+\
 A3	I	par
 }
 T7	F2	func3
 {
 R1	I	par
--
+\
 }
 test014.c:29: error: invalid storage class for function 'd'
 test014.c:32: error: bad storage class in function parameter
diff --git a/cc1/tests/test015.c b/cc1/tests/test015.c
index ad24bad..579c9c3 100644
--- a/cc1/tests/test015.c
+++ b/cc1/tests/test015.c
_AT_@ -14,7 +14,7 @@ G12	S2	s2
 F1
 G13	F1	main
 {
--
+\
 	j	L2
 A3	S2	s
 A4	I	s
diff --git a/cc1/tests/test016.c b/cc1/tests/test016.c
index 33b5638..effc72b 100644
--- a/cc1/tests/test016.c
+++ b/cc1/tests/test016.c
_AT_@ -7,7 +7,7 @@ G1	I	g
 F1
 G2	F1	func1
 {
--
+\
 A2	I	x
 A4	P	p
 	G1	#I1	:I
_AT_@ -26,7 +26,7 @@ L6
 }
 G3	F1	func2
 {
--
+\
 A1	I	x
 A2	P	p
 A4	P	pp
diff --git a/cc1/tests/test017.c b/cc1/tests/test017.c
index 3ff620b..3d98b2d 100644
--- a/cc1/tests/test017.c
+++ b/cc1/tests/test017.c
_AT_@ -5,7 +5,7 @@ output:
 F1
 G9	F1	main
 {
--
+\
 S2	s1
 M3	I	y
 M4	I	z
diff --git a/cc1/tests/test018.c b/cc1/tests/test018.c
index cff1f9b..3b8a0e1 100644
--- a/cc1/tests/test018.c
+++ b/cc1/tests/test018.c
_AT_@ -5,7 +5,7 @@ output:
 F1
 G1	F1	main
 {
--
+\
 V2	K	#4
 V3	V2	#2
 A4	V3	arr
diff --git a/cc1/tests/test019.c b/cc1/tests/test019.c
index 8118f74..2bffa1d 100644
--- a/cc1/tests/test019.c
+++ b/cc1/tests/test019.c
_AT_@ -8,7 +8,7 @@ test019.c:14: warning: division by 0
 F1
 G1	F1	main
 {
--
+\
 A2	I	i
 	A2	#I3	:I
 	A2	#I1	:I
diff --git a/cc1/tests/test020.c b/cc1/tests/test020.c
index d3e358f..9300fa3 100644
--- a/cc1/tests/test020.c
+++ b/cc1/tests/test020.c
_AT_@ -8,7 +8,7 @@ test020.c:82: warning: division by 0
 F1
 G1	F1	main
 {
--
+\
 A2	I	i
 	A2	A2	#I0	!I	:I
 	A2	A2	#I0	!I	#I1	,I	:I
diff --git a/cc1/tests/test021.c b/cc1/tests/test021.c
index 7868d89..5d506fa 100644
--- a/cc1/tests/test021.c
+++ b/cc1/tests/test021.c
_AT_@ -7,7 +7,7 @@ output:
 F1
 G1	F1	main
 {
--
+\
 A2	K	uc
 A3	C	sc
 	A2	#KFF	:K
diff --git a/cc1/tests/test022.c b/cc1/tests/test022.c
index 5ca7e76..a54b5c2 100644
--- a/cc1/tests/test022.c
+++ b/cc1/tests/test022.c
_AT_@ -7,7 +7,7 @@ output:
 F1
 G1	F1	main
 {
--
+\
 A2	I	i
 A3	N	u
 	A2	#I1	:I
diff --git a/cc1/tests/test023.c b/cc1/tests/test023.c
index db32046..e08fff6 100644
--- a/cc1/tests/test023.c
+++ b/cc1/tests/test023.c
_AT_@ -7,7 +7,7 @@ output:
 F1
 G1	F1	main
 {
--
+\
 A2	W	i
 A3	Z	u
 	A2	#W1	:W
diff --git a/cc1/tests/test024.c b/cc1/tests/test024.c
index 2ba1de0..3ee2491 100644
--- a/cc1/tests/test024.c
+++ b/cc1/tests/test024.c
_AT_@ -7,7 +7,7 @@ output:
 F1
 G1	F1	main
 {
--
+\
 A2	Q	i
 A3	O	u
 	A2	#Q1	:Q
Received on Wed Sep 23 2015 - 20:29:30 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 23 2015 - 20:36:11 CEST