summaryrefslogtreecommitdiff
path: root/rsc/source/parser
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-03 01:07:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-03 01:07:08 +0100
commit1df73a8a61e3b90a65426265a8fa12e0302f2107 (patch)
treec985ab3b240ff8275515be57711fb61d4f0dc7b3 /rsc/source/parser
parenta0a3c24609fd50b0672be800043554e3094c84ee (diff)
callcatcher: unused MacroParser
Diffstat (limited to 'rsc/source/parser')
-rw-r--r--rsc/source/parser/rsclex.cxx34
1 files changed, 0 insertions, 34 deletions
diff --git a/rsc/source/parser/rsclex.cxx b/rsc/source/parser/rsclex.cxx
index 47be75549220..e9e4a0ebb9d0 100644
--- a/rsc/source/parser/rsclex.cxx
+++ b/rsc/source/parser/rsclex.cxx
@@ -413,38 +413,4 @@ ERRTYPE parser( RscFileInst * pFileInst )
return( aError );
}
-RscExpression * MacroParser( RscFileInst & rFileInst )
-{
- ERRTYPE aError;
- RscExpression * pExpression;
-
- InitParser( &rFileInst );
-
- //Ziel auf macro_expression setzen
- aKeyVal[ 0 ].nKeyWord = MACROTARGET;
- bTargetDefined = sal_True;
- aError = yyparse();
-
- pExpression = pExp;
- //EndParser() wuerde pExp loeschen
- if( pExp )
- pExp = NULL;
-
- EndParser();
-
- // yyparser gibt 0 zurueck, wenn erfolgreich
- if( 0 == aError )
- aError.Clear();
- if( rFileInst.pTypCont->pEH->nErrors )
- aError = ERR_ERROR;
- rFileInst.SetError( aError );
-
- //im Fehlerfall pExpression loeschen
- if( aError.IsError() && pExpression ){
- delete pExpression;
- pExpression = NULL;
- };
- return( pExpression );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */