blob: 563e6210cfd68f831d06d056a362ddf0c4bb600f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From 9a5f78919d8d37684d653a8ef1da47a8bfd556a9 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Thu, 31 Jan 2019 18:00:24 -0800
Subject: [PATCH] Increase maximum string length
The C standard requires that implementations support internal identifiers
at least 63 characters long, so QBE should allow for identifiers at
least that long.
---
all.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/all.h b/all.h
index 24a1755..1364024 100644
--- a/all.h
+++ b/all.h
@@ -31,7 +31,7 @@ typedef struct Dat Dat;
typedef struct Target Target;
enum {
- NString = 32,
+ NString = 64,
NPred = 63,
NIns = 1 << 20,
NAlign = 3,
--
2.20.1
|