summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/parser/rscyacc.y3
-rw-r--r--rsc/source/rscpp/cpp2.c1
-rw-r--r--rsc/source/rscpp/cpp5.c8
3 files changed, 0 insertions, 12 deletions
diff --git a/rsc/source/parser/rscyacc.y b/rsc/source/parser/rscyacc.y
index 742f58b42581..8373ec602231 100644
--- a/rsc/source/parser/rscyacc.y
+++ b/rsc/source/parser/rscyacc.y
@@ -242,9 +242,6 @@ RSCINST GetFirstTupelEle( const RSCINST & rTop )
//#define YYDEBUG 1
-#define TYPE_Atom 0
-#define TYPE_RESID 1
-
#ifdef UNX
#define YYMAXDEPTH 2000
#else
diff --git a/rsc/source/rscpp/cpp2.c b/rsc/source/rscpp/cpp2.c
index 167983d0c0d1..8da4100c8be7 100644
--- a/rsc/source/rscpp/cpp2.c
+++ b/rsc/source/rscpp/cpp2.c
@@ -53,7 +53,6 @@
#define L_pragma ('p' + ('a' << 1))
#define L_undef ('u' + ('d' << 1))
#define L_error ('e' + ('r' << 1)) /* BP 5.3.92, #error */
-#define MAXLINE 80 /* BP 5.3.92, #error */
#if OSL_DEBUG_LEVEL > 1
#define L_debug ('d' + ('b' << 1)) /* #debug */
#define L_nodebug ('n' + ('d' << 1)) /* #nodebug */
diff --git a/rsc/source/rscpp/cpp5.c b/rsc/source/rscpp/cpp5.c
index e7e78b45d3aa..37b2c115d903 100644
--- a/rsc/source/rscpp/cpp5.c
+++ b/rsc/source/rscpp/cpp5.c
@@ -94,16 +94,8 @@ register int op;
{
return (op >= FIRST_BINOP && op <= LAST_BINOP);
}
-
-FILE_LOCAL int
-isunary(op)
-register int op;
-{
- return (op >= FIRST_UNOP && op <= LAST_UNOP);
-}
#else
#define isbinary(op) (op >= FIRST_BINOP && op <= LAST_BINOP)
-#define isunary(op) (op >= FIRST_UNOP && op <= LAST_UNOP)
#endif
/*