summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-23 09:47:48 +0200
committerNoel Grandin <noel@peralex.com>2015-01-08 10:39:36 +0200
commit45ec1d9b56cec41596f806ebf845ebfcd30c9f46 (patch)
treee368da6d3ae2c8a5c8e214b99dd0f95861d0fc78 /rsc
parent0748a5f8298e2ea817e131234f5e99300ed7f9f7 (diff)
brute-force find-and-remove of unused #define constants.
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rscall.h2
-rw-r--r--rsc/inc/rscerror.h2
-rw-r--r--rsc/inc/rscrsc.hxx5
-rw-r--r--rsc/source/rscpp/cpp.h2
4 files changed, 0 insertions, 11 deletions
diff --git a/rsc/inc/rscall.h b/rsc/inc/rscall.h
index 74bcf0b80ea7..cacd6d2d1e2e 100644
--- a/rsc/inc/rscall.h
+++ b/rsc/inc/rscall.h
@@ -61,8 +61,6 @@ extern AtomContainer* pHS;
#define NORESFILE_FLAG 0x0010 // keine .res-Datei erzeugen
#define DEFINE_FLAG 0x0020 // es wurde Definitionen angegeben
#define INCLUDE_FLAG 0x0040 // der Include-Pfad wurde erweitert
-#define MSCPREPRO_FLAG 0x0080 // spezial Preprozessor
-#define PRINTSYNTAX_FLAG 0x0100 // Syntax ausgeben
#define PRELOAD_FLAG 0x0200 // Alle Resourcen Preloaden
#define SRSDEFAULT_FLAG 0x1000 // immer der Default geschrieben
#define NOSYSRESTEST_FLAG 0x2000 // ueberprueft nicht die Richtigkeit von (bmp, ico, cur)
diff --git a/rsc/inc/rscerror.h b/rsc/inc/rscerror.h
index 7cab3d52cefe..7fb6e794fe8d 100644
--- a/rsc/inc/rscerror.h
+++ b/rsc/inc/rscerror.h
@@ -48,12 +48,10 @@
#define ERR_CONT_INVALIDPOS (ERR_RSCCONT +1 ) // Return
#define ERR_CONT_INVALIDTYPE (ERR_RSCCONT +2 ) // Return
-#define ERR_RSCCMPED 0x0250
#define ERR_RSCINST 0x0260
#define ERR_RSCINST_NOVARNAME (ERR_RSCINST +1 ) // Return
#define ERR_RSCINST_RESERVEDNAME (ERR_RSCINST +2 ) // Return
-#define ERR_LEX 0x0270
#define ERR_YACC 0x0280
#define ERR_DOUBLEID (ERR_YACC +1 )
#define ERR_FALSETYPE (ERR_YACC +2 )
diff --git a/rsc/inc/rscrsc.hxx b/rsc/inc/rscrsc.hxx
index 5842276c0d8d..f0cc6e025353 100644
--- a/rsc/inc/rscrsc.hxx
+++ b/rsc/inc/rscrsc.hxx
@@ -27,11 +27,6 @@
class RscTypCont;
-/****************** T Y P E S ********************************************/
-
-#define MAX_INPUTFILES 100
-#define MAX_SYMBOLS 10
-#define MAX_INCLUDES 10
/****************** R s c C m d L i n e **********************************/
class RscCmdLine
diff --git a/rsc/source/rscpp/cpp.h b/rsc/source/rscpp/cpp.h
index 8cc28f9766be..af579fe6303e 100644
--- a/rsc/source/rscpp/cpp.h
+++ b/rsc/source/rscpp/cpp.h
@@ -108,12 +108,10 @@ extern FILE* pDefOut; /* ER */
/*
* The following are unary.
*/
-#define FIRST_UNOP OP_PLU /* First Unary operand */
#define OP_PLU 24 /* + (draft ANSI standard) */
#define OP_NEG 25 /* - */
#define OP_COM 26 /* ~ */
#define OP_NOT 27 /* ! */
-#define LAST_UNOP OP_NOT
#define OP_LPA 28 /* ( */
#define OP_RPA 29 /* ) */
#define OP_END 30 /* End of expression marker */