summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Parser.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-10-30 23:19:01 +0100
committerJose <jose@zeroc.com>2014-10-30 23:19:01 +0100
commit540ca4a7a96a15d5a6c40936e1dc6c943f36bb70 (patch)
treecee4d1d5420d7705d40ca183846fa7943ea24acd /cpp/src/IceGrid/Parser.h
parentSLES updates for ice.spec (diff)
downloadice-540ca4a7a96a15d5a6c40936e1dc6c943f36bb70.tar.bz2
ice-540ca4a7a96a15d5a6c40936e1dc6c943f36bb70.tar.xz
ice-540ca4a7a96a15d5a6c40936e1dc6c943f36bb70.zip
More lex Scanner fixes
Diffstat (limited to 'cpp/src/IceGrid/Parser.h')
-rw-r--r--cpp/src/IceGrid/Parser.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Parser.h b/cpp/src/IceGrid/Parser.h
index bfd08d10438..4b4fe013c7c 100644
--- a/cpp/src/IceGrid/Parser.h
+++ b/cpp/src/IceGrid/Parser.h
@@ -126,7 +126,13 @@ public:
void showCopying();
void showWarranty();
- void getInput(char*, int&, int);
+ //
+ // With older flex version <= 2.5.35 YY_INPUT second
+ // paramenter is of type int&, in newer versions it
+ // changes to size_t&
+ //
+ void getInput(char*, int&, size_t);
+ void getInput(char*, size_t&, size_t);
void continueLine();
const char* getPrompt();