Kaydet (Commit) 953e0df8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

New loplugin:externvar: rsc

Change-Id: Ifa9ead1325fdced36f189c5d5dcfd0e6d0ed63dd
üst 387a035d
...@@ -49,8 +49,8 @@ const char* StringContainer::putString( const char* pString ) ...@@ -49,8 +49,8 @@ const char* StringContainer::putString( const char* pString )
return aInsert.first->getStr(); return aInsert.first->getStr();
} }
int c; static int c;
bool bLastInclude;// true, if last symbol was INCLUDE static bool bLastInclude;// true, if last symbol was INCLUDE
RscFileInst* pFI; RscFileInst* pFI;
RscTypCont* pTC; RscTypCont* pTC;
RscExpression * pExp; RscExpression * pExp;
...@@ -58,8 +58,9 @@ struct KeyVal ...@@ -58,8 +58,9 @@ struct KeyVal
{ {
int nKeyWord; int nKeyWord;
YYSTYPE aYYSType; YYSTYPE aYYSType;
} aKeyVal[ 1 ]; };
bool bTargetDefined; static KeyVal aKeyVal[ 1 ];
static bool bTargetDefined;
StringContainer* pStringContainer = nullptr; StringContainer* pStringContainer = nullptr;
......
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
#include <rsclex.hxx> #include <rsclex.hxx>
ObjectStack S; ObjectStack S;
RscTop * pCurClass; static RscTop * pCurClass;
char szErrBuf[ 100 ]; static char szErrBuf[ 100 ];
RSCINST GetVarInst( const RSCINST & rInst, const char * pVarName ) RSCINST GetVarInst( const RSCINST & rInst, const char * pVarName )
{ {
......
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