diff options
Diffstat (limited to 'src/vhdlcode.l')
-rw-r--r-- | src/vhdlcode.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vhdlcode.l b/src/vhdlcode.l index 7610c9a..746be45 100644 --- a/src/vhdlcode.l +++ b/src/vhdlcode.l @@ -89,7 +89,7 @@ struct vhdlcodeYY_state CodeOutputInterface * code = 0; const char * inputString = 0; //!< the code fragment as text - int inputPosition = 0; //!< read offset during parsing + yy_size_t inputPosition = 0; //!< read offset during parsing int inputLines = 0; //!< number of line in the code fragment int yyLineNr = 0; //!< current line number bool needsTermination = false; @@ -136,7 +136,7 @@ static void appStringLower(QCString& qcs,const char* text); static void codifyMapLines(yyscan_t yyscanner,const char *text); static void writeFuncProto(yyscan_t yyscanner); static void writeProcessProto(yyscan_t yyscanner); -static int yyread(yyscan_t yyscanner,char *buf,yy_size_t max_size); +static yy_size_t yyread(yyscan_t yyscanner,char *buf,yy_size_t max_size); #if USE_STATE2STRING static const char *stateToString(int state); @@ -921,7 +921,7 @@ XILINX "INST"|"NET"|"PIN"|"BLKNM"|"BUFG"|"COLLAPSE"|"CPLD"|"COMPGRP"|"CONFI /*@ ---------------------------------------------------------------------------- */ -static int yyread(yyscan_t yyscanner,char *buf,yy_size_t max_size) +static yy_size_t yyread(yyscan_t yyscanner,char *buf,yy_size_t max_size) { struct yyguts_t *yyg = (struct yyguts_t*)yyscanner; yy_size_t inputPosition = yyextra->inputPosition; |