Browse Source

Move err struct member into anonymous union

T. Meissner 7 months ago
parent
commit
0e78985a89
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      chapter_08/lispy.c

+ 1
- 1
chapter_08/lispy.c View File

@@ -37,8 +37,8 @@ typedef struct {
37 37
     union {
38 38
         long num;
39 39
         double dec;
40
+        int err;
40 41
     };
41
-    int err;
42 42
 } lval;
43 43
 
44 44