[hackers] [scc] Add name to the operand enum || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Sat, 15 Aug 2015 23:27:07 +0200 (CEST)

commit 1341cf53a7115b1c89a2d2f836aef36524a6745e
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Sat Aug 15 11:14:47 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Sat Aug 15 11:14:47 2015 +0200

    Add name to the operand enum
    
    This is helpful debugging.

diff --git a/cc1/cc1.h b/cc1/cc1.h
index 001c5b9..fc16aa7 100644
--- a/cc1/cc1.h
+++ b/cc1/cc1.h
_AT_@ -232,7 +232,7 @@ enum tokens {
 };
 
 /* operations */
-enum {
+enum op {
         OPTR,
         OADD,
         OMUL,
Received on Sat Aug 15 2015 - 23:27:07 CEST

This archive was generated by hypermail 2.3.0 : Sat Aug 15 2015 - 23:36:15 CEST