chiark / gitweb /
parser: Rename a variable from `true` to `true_` (for C23)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 20 Sep 2025 16:39:34 +0000 (17:39 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 20 Sep 2025 16:40:16 +0000 (17:40 +0100)
parser.c

index ade124e1f64afd09349533171b7fd0c144aa0016..4cc7f1c24155a274e143c8aefe5e4f4954d17224 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -1150,12 +1150,12 @@ int df_catchquit(int dtoken) {
 }
 
 int df_if(int dtoken) {
-  int r, true, done;
+  int r, true_, done;
   
   done= 0;
   do {
-    r= pa_condition(&true); if (r) return r;
-    if (!done && true) { r= parser(tokv_word_if); done= 1; }
+    r= pa_condition(&true_); if (r) return r;
+    if (!done && true_) { r= parser(tokv_word_if); done= 1; }
     else { r= skip(tokv_word_if); }
     if (!(r & tokt_controlend)) return r;
   } while (r == tokv_word_elif);