summaryrefslogtreecommitdiffstats
path: root/src/vhdljjparser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-15/+15
| | | | | | | | | | | | | | | | | This commit changes the following in relation to string use - The implicit convert from 'QCString' to 'const char *' is removed - Strings parameters use 'const QCString &' as much as possible in favor over 'const char *' - 'if (s)' where s is a QCString has been replaced by 'if(!s.isEmpty())' - data() now always returns a valid C-string and not a 0-pointer. - when passing a string 's' to printf and related functions 'qPrint(s)' is used instead of 's.data()' - for empty string arguments 'QCString()' is used instead of '0' - The copy() operation has been removed - Where possible 'qstrcmp(a,b)==0' has been replaces by 'a==b' and 'qstrcmp(a,b)<0' has been replaced by 'a<b' - Parameters of string type that were default initialized with '= 0' are no initialized with '= QCString()'
* Refactoring: make qcstring.h a local includeDimitri van Heesch2021-03-261-1/+1
|
* Refactoring: move qcstring and remove qtoolsDimitri van Heesch2021-03-251-10/+11
|
* Refactoring: Replaced QDir with DirDimitri van Heesch2021-03-181-2/+3
| | | | | - Dir is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* Refactoring: Replaced QFileInfo with FileInfoDimitri van Heesch2021-03-181-1/+0
| | | | | - FileInfo is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* Refactoring: replaced std::regex with own much faster implementationDimitri van Heesch2021-03-021-10/+10
|
* Some performance tweaks + remove setting of global localeDimitri van Heesch2021-02-221-3/+3
|
* Refactoring: replace QRegExp by std::regex in vhdljjparser.cppDimitri van Heesch2021-02-201-25/+49
|
* Refactoring: cleanup unused qtools headersDimitri van Heesch2021-01-221-1/+0
|
* Refactoring: modernize Statistics & time keepingDimitri van Heesch2021-01-221-4/+0
|
* Refactoring: making vhdlcode.l reentrantDimitri van Heesch2020-09-131-0/+3
| | | | | Also fixed a few VHDL related memory leaks and one newly introduced Fortran memory leak.
* More minor tweaksDimitri van Heesch2020-07-281-4/+4
|
* issue #7923 source line numbers in warnings output by parser are off by 1albert-github2020-07-271-1/+2
| | | | Explicit counting of the removed newlines at the beginning of a documenation block (markdown.cpp) so this number can be added to get a better line number in case of warnings.
* Merge pull request #7864 from maddox11/use_plantumlDimitri van Heesch2020-07-161-8/+1
|\ | | | | improve using plantuml for vhdl flowcharts
| * improve using plantuml for vhdl flowchartshake2020-06-211-8/+1
| |
* | Refactor: Modernize clang parser and make it run with multiple threadsDimitri van Heesch2020-07-161-1/+1
|/
* Refactor: modernize markdown and make it thread-safeDimitri van Heesch2020-06-161-7/+9
|
* missing instance-reworkhake2020-06-031-39/+134
|
* Refactoring: Introduce type names for commonly used container typesDimitri van Heesch2020-05-011-7/+8
|
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-2/+2
|
* Fix compiler warnings on Windows (Visual Studio)Dimitri van Heesch2020-02-121-1/+1
|
* vhdl-fixed-bug-7432hake2020-02-041-5/+19
|
* Move DocGroup inside CommentScanner instead of using a globalDimitri van Heesch2020-01-261-2/+3
|
* Cleanup unused/unwanted parser dependencies on code generatorDimitri van Heesch2020-01-261-1/+0
|
* fixed some parser bugs,make parser ready for javacc 7.0.5hake2020-01-241-1/+2
|
* Fix for potential crash when processing VHDLDimitri van Heesch2020-01-071-1/+1
|
* Make VHDL parser reentrantDimitri van Heesch2020-01-031-302/+283
|
* Make commentscan.l reentrantDimitri van Heesch2019-12-301-2/+4
|
* Minor fixesDimitri van Heesch2019-12-121-1/+1
|
* issue #7436 Incorrect handling of block comments in VHDLalbert-github2019-12-111-1/+34
| | | | | | The search for `/*` or /*!` ended at the last `*/` in a file and thus skipping other intermediate block end and new starts. Also the intermediate code was lost see as comment. The filter pattern used was incorrect and should have been `<"/*" (~["*"])* "*" ("*" | ~["*","/"] (~["*"])* "*")* "/">` (thanks to https://javacc.org/contrib/C.jj). Here also the space plus one or more `*` at the end beginning of the line are still incorporated as well as multiple `*` before the colosing `*/` this is also filtered.
* Changed std::unique_ptr<Entry> to std::shared_ptr<Entry> at avoid use after ↵Dimitri van Heesch2019-12-081-11/+9
| | | | free issues
* Split language parser into "outline parser" and "code parser"Dimitri van Heesch2019-12-031-3/+3
|
* Spelling corrections for src directoryalbert-github2019-11-051-1/+1
| | | | | | | | Spelling corrections as found by codespell and in #561. Some reported problems were already fixed, others are fixed here, with some exceptions (a,o.): - "referenceby" in defgen.cpp as this is in the output and I cannot oversee the consequences (looks like none, but ...) - "HANGEUL_CHARSET" left as is as in some MS documentation is written: 'HANGUL_CHARSET: Also spelled "Hangeul". Specifies the Hangul Korean character set.' (https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wmf/0d0b32ac-a836-4bd2-a112-b6000a1b4fc9).
* Changed ArgumentList to be an STL containerDimitri van Heesch2019-10-271-14/+14
|
* Merge pull request #7283 from luzpaz/typosDimitri van Heesch2019-10-091-2/+2
|\ | | | | Fix typos
| * Fix typosluz.paz2019-09-281-2/+2
| | | | | | | | | | | | Found via ``` codespell -q 3 -S *.js,*.po,./src/translator*,*.eps,./doc/changelog.doc -L ang,ans,attribs,ba,behaviour,classe,colour,german,iff,initialise,nam,nd,que,russian,statics,te,tim,uint ```
* | Use smartpointers to manage the lifetime of Entry objectsDimitri van Heesch2019-10-071-57/+48
|/
* take doc group out of commentscan.lAdrian Negreanu2019-07-261-2/+2
| | | | Signed-off-by: Adrian Negreanu <groleo@gmail.com>
* issue #6734 parsing performance worsenedDimitri van Heesch2019-01-071-3/+4
|
* Bug 691689 - Line numbers for examplesDimitri van Heesch2018-08-191-7/+7
|
* Merge pull request #684 from albert-github/feature/bug_794567Dimitri van Heesch2018-05-011-104/+0
|\ | | | | Bug 794567 - Doxygen crash when using \code{.markdown}...\endcode in VHDL source
| * Bug 794567 - Doxygen crash when using \code{.markdown}...\endcode in VHDL sourcealbert-github2018-03-271-104/+0
| | | | | | | | | | The handling of the code command in comment is handled when entire comment is handled. Handling was incomplete only the backslash version was checked (and crashed).
* | Making VHDL error messages more doxygen likealbert-github2018-03-271-0/+7
|/
* Fix not initialized pointer when parser is starting on a new file.Andreas Regel2017-12-041-0/+1
| | | | | | | | | | The pointer oldEntry holds the last value of VhdlParser::current and is compared to detect comment blocks that belong together. This could lead to false positives when a new file is parsed and the new entry in VhdlParser::current has by change the same pointer value as the old entry. Doxygen warning like "warning: Found unknown command `\brief'" are the consequence that leads to concatenated brief and detailed description in the resulting output.
* Remove unused variablesChristoph Grüninger2016-01-231-3/+0
|
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-1/+1
| | | | improve performance
* Bug 758495 - Bug in VHDL parser + other fixesDimitri van Heesch2015-12-201-1/+16
|
* Fixed various issues found by PVS-Studio.Dimitri van Heesch2015-08-181-1/+4
|
* Adding commands \hidecallgraph and \hidecallergraphalbert-github2015-02-221-16/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | With the new commands \hidecallgraph and \hidecallergraph it is possible to suppress a call or caller graph even though the corresponding option CALL_GRAPH or CALLER_GRAPH is set. commands.doc config.xml diagrams.doc - updating documentation to support new commands entry.cpp - initialize callgraph and callergraph with the value from the config file commentscan.l - add handling for the new commands context.cpp memberdef.cpp util.cpp - getting the option for CALL_GRAPH and CALLER_GRAPH is not necessary anymore as it is incorporated in the initialization of an Entry item dbusxmlscanner.cpp - initialization is done in the Entry item vhdljjparser.cpp - gBlock was a static variable and therefore initialized before the doxygen main routine started. A Entry element sets now the default for callgraph and callergraph based on the config file and as the config file is not yet known at that moment the value for CALL_GRAPH and CALLER_GRAPH were set to False. By making a pointer of gBlock and doing an appropriate new Entry call this problem is overcome.
* Merge pull request #272 from albert-github/feature/bug_unusedDimitri van Heesch2015-01-031-5/+1
|\ | | | | Remove unused local and static global variables