shithub: riscv

Download patch

ref: 58533c35fb6164c655c6925544c3147701d27dca
parent: decade55c63a802e288beb718de5d6b3cb81b0cc
author: cinap_lenrek <[email protected]>
date: Wed May 1 12:55:11 EDT 2013

cc: accept 24 bit numeric runes

--- a/sys/src/cmd/cc/lex.c
+++ b/sys/src/cmd/cc/lex.c
@@ -1072,7 +1072,7 @@
 		 */
 		i = 2;
 		if(longflg)
-			i = 4;
+			i = 6;
 		l = 0;
 		for(; i>0; i--) {
 			c = getc();
@@ -1102,7 +1102,7 @@
 		 */
 		i = 2;
 		if(longflg)
-			i = 5;
+			i = 8;
 		l = c - '0';
 		for(; i>0; i--) {
 			c = getc();