cleanup; moved extern's from .c to .h files for double check
[fw/sdcc] / src / SDCCast.h
index df1111852735ce27aa620325dbe09d48929970b3..58888c33cec3d905a0a78054e3fecd7f70ca06dc 100644 (file)
    what you give them.   Help stamp out software-hoarding!  
 -------------------------------------------------------------------------*/
 
+#ifndef SDCCEXPR_H
+#define SDCCEXPR_H
+
 #include "SDCCglobl.h"
 #include "SDCCsymt.h"
 #include "SDCCval.h"
-
-#ifndef SDCCEXPR_H
-#define SDCCEXPR_H
+#include "SDCCset.h"
 
 #define  EX_OP       0
 #define  EX_VALUE    1
@@ -149,8 +150,9 @@ typedef  struct   ast {
                          x == AND_ASSIGN || x == OR_ASSIGN || x == INC_OP || x == DEC_OP)
 #define IS_DEREF_OP(x) (( x->opval.op == '*' && x->right == NULL) || x->opval.op == '.')
 
-/* forward declrations for global variables */
+/* forward declarations for global variables */
 extern ast     *staticAutos    ;
+extern FILE *codeOutFile;
 
 /* forward definitions for functions   */
 ast     *newAst       (int  ,  void  *        );
@@ -180,4 +182,8 @@ ast     *initAggregates ( symbol *,initList *, ast *);
 bool     hasSEFcalls    ( ast *);
 void     addSymToBlock (symbol *, ast *) ;
 
+// exported variables 
+extern set *operKeyReset;
+extern int noAlloc;
+
 #endif