summaryrefslogtreecommitdiff
path: root/idl/inc/lex.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'idl/inc/lex.hxx')
-rw-r--r--idl/inc/lex.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/idl/inc/lex.hxx b/idl/inc/lex.hxx
index a9869de4c2ed..7780a36a49ec 100644
--- a/idl/inc/lex.hxx
+++ b/idl/inc/lex.hxx
@@ -198,14 +198,16 @@ public:
return false;
}
- void ReadIfDelimiter()
+ bool ReadIfDelimiter()
{
if( (*pCurToken)->IsChar()
&& (';' == (*pCurToken)->GetChar()
|| ',' == (*pCurToken)->GetChar()) )
{
GetToken_Next();
+ return true;
}
+ return false;
}
sal_uInt32 Tell() const { return pCurToken-aTokList.begin(); }