summaryrefslogtreecommitdiffstats
path: root/src/sql/doc/snippets/sqldatabase/sqldatabase.cpp
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-01-03 18:49:09 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2023-01-04 13:42:06 +0100
commitad7ad62d17b337671f97fd342148edcff74acaa5 (patch)
tree59e85ed25d00bed9a12d06f01aff051b1c761a9a /src/sql/doc/snippets/sqldatabase/sqldatabase.cpp
parentfb8701cb8b1972d5ca6ffc383a436786bc170d16 (diff)
Avoid breaking version script generator state
Pass every line to parseVersionScriptContent to not break the version script generator state. The parser doesn't collect characters from comment block, so the line containing the 'ignore-next' ELFVERSION tag produces empty buffer for the further parsing process. Call the parseVersionScriptContent function even on empty buffers to make sure that 'ignore-next' counts lines correcly. Pick-to: 6.5 Fixes: QTBUG-109790 Change-Id: I5f77893462d397f6738a5da1af6ed8dd8a2df70a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/sql/doc/snippets/sqldatabase/sqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions