diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-10-24 13:30:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-24 13:30:09 (GMT) |
commit | 8c74e949da0847e6db502dab73a9268029d1e7a0 (patch) | |
tree | a69eb6c80321d541f53c43795e51c8350e348da1 /src | |
parent | c4ee5506905c322422566de149dd063d67cd9fc8 (diff) | |
parent | c261c5eae9f831567775d7ad63f22436bdfac3aa (diff) | |
download | Doxygen-8c74e949da0847e6db502dab73a9268029d1e7a0.zip Doxygen-8c74e949da0847e6db502dab73a9268029d1e7a0.tar.gz Doxygen-8c74e949da0847e6db502dab73a9268029d1e7a0.tar.bz2 |
Merge pull request #8122 from albert-github/feature/bug_warn_lex
Remove warnings from lexers
Diffstat (limited to 'src')
-rw-r--r-- | src/code.l | 2 | ||||
-rw-r--r-- | src/fortrancode.l | 2 | ||||
-rw-r--r-- | src/pycode.l | 2 | ||||
-rw-r--r-- | src/sqlcode.l | 2 | ||||
-rw-r--r-- | src/vhdlcode.l | 6 | ||||
-rw-r--r-- | src/xmlcode.l | 2 |
6 files changed, 8 insertions, 8 deletions
@@ -101,7 +101,7 @@ struct codeYY_state 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 - int yyColNr = 0; //!< current column number + yy_size_t yyColNr = 0; //!< current column number bool needsTermination = FALSE; bool exampleBlock = FALSE; diff --git a/src/fortrancode.l b/src/fortrancode.l index 6b278cc..f8f246a 100644 --- a/src/fortrancode.l +++ b/src/fortrancode.l @@ -141,7 +141,7 @@ struct fortrancodeYY_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 int contLineNr = 0; //!< current, local, line number for continuation determination diff --git a/src/pycode.l b/src/pycode.l index 853e5cd..7fb4184 100644 --- a/src/pycode.l +++ b/src/pycode.l @@ -72,7 +72,7 @@ struct pycodeYY_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 const char * currentFontClass = 0; bool needsTermination = FALSE; const Definition *searchCtx = 0; diff --git a/src/sqlcode.l b/src/sqlcode.l index 1ca9204..74318bb 100644 --- a/src/sqlcode.l +++ b/src/sqlcode.l @@ -50,7 +50,7 @@ struct sqlcodeYY_state { CodeOutputInterface * code; const char *inputString; //!< the code fragment as text - int inputPosition; //!< read offset during parsing + yy_size_t inputPosition; //!< read offset during parsing int inputLines; //!< number of line in the code fragment int yyLineNr; //!< current line number bool needsTermination; 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; diff --git a/src/xmlcode.l b/src/xmlcode.l index c91a00e..c7322cb 100644 --- a/src/xmlcode.l +++ b/src/xmlcode.l @@ -56,7 +56,7 @@ struct xmlcodeYY_state QCString parmType; QCString parmName; 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; |