Commit 05123ad5 authored by johnvg@science.ru.nl's avatar johnvg@science.ru.nl

move variable VERSION from version.c to settings.h in backend, remove includes of version.h

parent ffdaab69
......@@ -4,7 +4,6 @@
#include "settings.h"
#include <ctype.h>
#include "compiler.h"
#include "version.h"
#include "MAIN_CLM.d"
......
......@@ -29,8 +29,6 @@
# include "result_state_database.h"
#endif
extern int VERSION;
#define for_l(v,l,n) for(v=(l);v!=NULL;v=v->n)
#define RECORD_N_PREFIX c_pref
......
......@@ -18,7 +18,6 @@
#include "codegen2.h"
#include "instructions.h"
#include "statesgen.h"
#include "version.h"
#define for_l(v,l,n) for(v=(l);v!=NULL;v=v->n)
......
......@@ -4,6 +4,8 @@
#include "system.h"
#include "settings.h"
int VERSION=920;
Bool
DoCode = True,
DoDebug = False,
......
/*
Compiler setttings
*/
extern int VERSION;
/* Compiler setttings */
extern Bool DoCode; /* not generated in abc file */
extern Bool DoDebug;
......
extern int VERSION;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment