summaryrefslogtreecommitdiffstats
path: root/src/vhdlcode.l
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: replace QDict by std::set for classifying keywords in vhdldocgenDimitri van Heesch2020-11-291-2/+2
|
* Issue #8206: Incorrect XHTML resultsDimitri van Heesch2020-11-271-3/+2
| | | | | | | | | | | | Changes: - Change TooltipManager back into a singleton - Give the OutputList object a unique output id - Increment the id at each startFile() atomically - Pass the id to the HTML code generator - Store tooltips per output id. - Keep track of tooltips that are already written for a given id - for output formats other than HTML the output id is 0 and tooltips are not collected and written
* Refactoring: replacing dynamic_cast by static_cast to improve performanceDimitri van Heesch2020-11-131-1/+1
|
* Remove warnings from lexersalbert-github2020-10-201-3/+3
| | | | | | | | Remove warnings (Windows 64 bit compilation) like: ``` warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data ``` from the different lexers by making use of more consistent data types.
* Refactoring: modernize TooltipManager class and source reference listsDimitri van Heesch2020-10-201-1/+6
| | | | | - Tooltips are now collected per file instead of globally - Source reference lists now use STL containers
* Refactoring: making vhdlcode.l reentrantDimitri van Heesch2020-09-131-1147/+1151
| | | | | Also fixed a few VHDL related memory leaks and one newly introduced Fortran memory leak.
* issue #7995 Doxygen doesn't handle very simple example in the .md filealbert-github2020-09-021-0/+3
| | | | Besides "keep utf8 characters together..." as done for the C-type parser in code.l (commit d3d9dd8540ec159de080859c8f34a2581c4147f0) this also has to be done for the Fortran, SQL and VHDL code lexers. The code lexers for python and xml already didn't give errors as they already handled these cases for the example.
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-1/+8
|
* Fix compiler warnings on Windows (Visual Studio)Dimitri van Heesch2020-02-121-0/+3
|
* Split language parser into "outline parser" and "code parser"Dimitri van Heesch2019-12-031-6/+16
|
* Remove bogus flex codeDimitri van Heesch2019-11-181-8/+0
|
* Changed ArgumentList to be an STL containerDimitri van Heesch2019-10-271-10/+5
|
* Consistent way to show scanner statealbert-github2019-09-051-2/+2
| | | | | Create a consistent way to display the state mnemonics of the different scanners (analogous to the fortranscanner.l) Use an automatic procedure to generate the routine with the translation of the states to a string.
* Correction warning messagealbert-github2019-06-011-1/+1
| | | | Consistency
* Add const correctness for argument listsDimitri van Heesch2019-05-051-2/+2
|
* Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-4/+4
|
* Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-2/+2
|
* Merge pull request #6776 from albert-github/feature/bug_xhtml_tooltipDimitri van Heesch2019-02-091-5/+0
|\ | | | | Double id for tooltips in XHTML possible.
| * Double id for tooltips in XHTML Possible.albert-github2019-01-181-5/+0
| | | | | | | | The tooltips (XHTML) should not be displayed per code fragment but for the entire (output) file as otherwise tooltips might be added multiple times resulting in double IDs.
* | Inline VHDL codealbert-github2019-01-301-5/+1
|/ | | | | | Based on the example of #6805 - First line of inline documentation didn't have a line number - The line numbers in inline documentation were off by one
* Wrong counting of lines during VHDL code outputalbert-github2018-12-051-1/+1
| | | | | | The code coloring of the output stops at an early stage, resulting in incorrect HTML / LaTeX / ... output, due to a double counting of the lines in case of `STRIP_CODE_COMMENTS=NO`. Problem is visible when looking at the documentation of the VHDL documentation block in the manual for VHDL code in e.g. HTML and LaTex (Note problem occurs in the 1.8.15 master, not in the 1.8.14 version).
* Correction of some coloring of code comments in VHDL, adding data type ↵albert-github2018-08-241-34/+35
| | | | 'positive'
* Bug 691689 - Line numbers for examplesDimitri van Heesch2018-08-191-16/+15
|
* Added some VHDL code coloringalbert-github2018-03-311-17/+51
| | | | | | | - add coloring of "of" - improvement for architecture - adding coloring for names after an end statement removed obsolete g_CurrScope
* Misc. typosluzpaz2017-12-231-4/+4
| | | | | Super trivial typos Some are in qtools/ which I know is a 3rd party dependency but as we know is now obsolete upstream. I reckon it wouldn't be much of an issue to merge neverthless Tacked on several more commits
* flex: use %option instead of command line options.Adrian Negreanu2016-09-211-0/+3
|
* Bug 771199 - Web-page bug: Comment blocks in VHDLDimitri van Heesch2016-09-111-2/+1
|
* Bug 770660 - Code snippet always shows line numbers from 1albert-github2016-09-031-7/+9
| | | | | | | | | This patch makes the handling of the \snippet and other commands consistent between the different languages (no line numbers anymore with python) and also introduces analogous to \includelineno the command \snippetlineno. Some non relevant changes: - *code.l Calculation of the end line was incorrect, in case of a snippet the end line was the number of lines of the snippet and not reltive to the start line. - *code.l made consistent over the different laguages, enabling exBlock and inlineFragment - testing/indexpage.xml in test 14 the \snippet command was used with python and giving line numbers, linenumbers are now gone (consistency)
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-3/+3
| | | | improve performance
* Support flex-2.6.0Dimitri van Heesch2015-11-221-1/+1
|
* Support flex-2.6.0Heiko Becker2015-11-221-1/+1
| | | | | | The version checks only considered YY_FLEX_SUBMINOR_VERSION and did not take YY_FLEX_MINOR_VERSION into account, which made them fail with flex-2.6.0.
* drop #include <unistd.h>Adrian Negreanu2015-05-151-2/+2
| | | | Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Merge pull request #272 from albert-github/feature/bug_unusedDimitri van Heesch2015-01-031-6/+0
|\ | | | | Remove unused local and static global variables
| * Remove unused local and static global variablesalbert-github2014-12-271-6/+0
| | | | | | | | Remove unused local and static global variables. Variables have been identified by Understand (version 758) from Scitools.
* | Fixed a couple of cases where sharing string data could lead to corruptionDimitri van Heesch2015-01-021-2/+2
|/ | | | | Also made dangerous string access more visible by introducing rawData(). This replaces data() which will now return a constant string.
* New VHDL parser implementationDimitri van Heesch2014-08-021-0/+2
|
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Reduced and improved functionality of QListDimitri van Heesch2013-12-301-4/+4
| | | | | | | | | - operations on current index and node (next(), prev(), last(), first()) have been removed. - access to internal nodes has been removed. - old QList has been renamed to QInternalList for use inside qtools only. - added type safe compare, new, and delete operations (compareValues(), newValue(), deleteValue()). - add compareValues also to QDict for consistency. - changed doxygen's implementation to comply with the new QList and QDict interface.
* Debug output for lexical analyzerAlbert2013-11-131-0/+2
| | | | | | | | | | | | | | In case of error messages like: input buffer overflow, can't enlarge buffer because scanner uses REJECT it is not always directly clear from which lexical analyzer (.l file) this problem comes. This patch helps to find these problems and does the following things: - when using the option -d lex with doxygen each time a lexical analyzer is called at the start a line like the following line will be given: Entering lexical analyzer: pre.l (for: ..../file.c) and at the end: Finished lexical analyzer: pre.l (for: ..../file.c) - in case the lexical analyzer has been translated with the -d option of lex / flex the above mentioned lines will be given as part of the lexical analyzer output (to stderr) and look like: --entering lexical analyzer: pre.l (for: ..../file.c) --finished lexical analyzer: pre.l (for: ..../file.c)
* Bug 707641 - `FILTER_SOURCE_FILES=YES` required to build CALL_GRAPHSSergio Oller2013-09-281-1/+2
| | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=707641 Add references if the file is filtered, as the parser does not know whether we are insideBody or not.
* Added SOURCE_TOOLTIPS option for advanced tooltip support while source browsingDimitri van Heesch2013-07-021-18/+21
|
* Bug 702066 - VHDL: Bad HTML formatting when using inline sourcesDimitri van Heesch2013-06-161-14/+26
|
* Release-1.8.3.1-20130512Dimitri van Heesch2013-05-121-1/+1
|
* Release-1.8.3.1-20130324Dimitri van Heesch2013-03-241-8/+1
|
* Release-1.8.3.1-20130209Dimitri van Heesch2013-02-091-2/+2
|
* Release-1.8.3.1Dimitri van Heesch2013-01-201-1/+1
|
* Release-1.8.2-20121118Dimitri van Heesch2012-11-181-3/+4
|
* Release-1.8.2-20120930Dimitri van Heesch2012-09-301-1/+1
|
* Release-1.8.2Dimitri van Heesch2012-08-111-13/+20
|