summaryrefslogtreecommitdiffstats
path: root/src/fortrancode.l
Commit message (Collapse)AuthorAgeFilesLines
* Fixed shadowing issue in getFortranDefs and other shadowing casesDimitri van Heesch2020-04-091-12/+13
|
* Replaced MemberNameSDict by MemberNameLinkedMap based on LinkedMapDimitri van Heesch2020-04-081-96/+97
|
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-69/+75
|
* Fix compiler warnings on Windows (Visual Studio)Dimitri van Heesch2020-02-121-0/+3
|
* Cleanup unused/unwanted parser dependencies on code generatorDimitri van Heesch2020-01-261-0/+2
|
* Merge branch 'master' into spellingDimitri van Heesch2019-12-231-9/+27
|\
| * Split language parser into "outline parser" and "code parser"Dimitri van Heesch2019-12-031-0/+30
| |
| * Remove bogus flex codeDimitri van Heesch2019-11-181-12/+0
| |
* | spelling: terminatedJosh Soref2019-11-121-1/+1
|/
* 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).
* Fix typosluz.paz2019-09-281-1/+1
| | | | | | 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 ```
* Reduce the use of QString in favor of the more efficient QCStringDimitri van Heesch2019-09-211-1/+1
|
* Consistent way to show scanner statealbert-github2019-09-051-0/+3
| | | | | 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.
* Fixes a @param's parameter name.Mark de Wever2019-08-241-1/+1
| | | | | | | | This was found while testing with Clang's -Wdocumentation -Wdocumentation-pedantic options. Note from the coding style used it would seem useDict would be the more appropriate name, but usedict is used on multiple occasions in this file.
* Some fixes and restructuringDimitri van Heesch2019-08-061-0/+4
| | | | | | - moved unescapeCharsInString to util.cpp - restructured flow keyword counting - make flow keyword counting work for python and fortran code as well
* Correction warning messagealbert-github2019-06-011-1/+1
| | | | Consistency
* Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-13/+9
|
* Continuation lines and labelsalbert-github2019-03-071-3/+3
| | | | | Better handling of continuation lines when converting from fixed form Fortran to free form Fortran, especially handling the information in columns 733 and further (which is in fixed formatted Fortran always comment) An `end` statement can start not only on lines with spaces in front of it but also when a line has a label or the `end` can be after a `;`.
* Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-1/+1
|
* 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.
* Handling Fortran functions in call graphsalbert-github2018-10-211-2/+15
| | | | | When functions are used they have to be declared and were seen as local variables even when the 'external' keyword had been applied. Functions are now not seen anymore as local variables as soon as the 'external' keyword has been applied.
* Bug 691689 - Line numbers for examplesDimitri van Heesch2018-08-191-9/+9
|
* Bug 796621 - @cond does not stop at @endcond Fortranalbert-github2018-06-191-3/+0
| | | | | The backslash (\) is in Fortran not an escape character but was handled as such, this has been corrected. Handling of the different Fortran string types ('...' and "...") made more consistent.
* Merge branch 'feature/bug_enum' of https://github.com/albert-github/doxygen ↵Dimitri van Heesch2018-06-101-17/+48
|\ | | | | | | into albert-github-feature/bug_enum
| * Implementation Fortran ENUM / ENUMERATIONalbert-github2018-02-171-31/+59
| | | | | | | | All ENUMs are anonymous as they don't have a name defined in the Fortran standard.
* | Merge pull request #707 from luzpaz/misc-typosDimitri van Heesch2018-04-291-2/+2
|\ \ | | | | | | Misc. typos
| * | Misc. typosluz.paz2018-04-251-2/+2
| | | | | | | | | | | | Found via `codespell`
* | | Fortran code coloring improvements (REAL and comment lines)albert-github2018-04-261-9/+19
|/ / | | | | | | | | | | | | | | | | REAL can have multiple meanings in Fortran: - data type - name of (conversion) function in case of free formatted code the word "real" cab appear at the beginning of a (physical) line and would be interpreted incorrectly. Fortran comment lines always end at the end of the line (no block comments) so the code coloring of comment lines should always be terminated.
* | Merge pull request #655 from albert-github/feature/bug_fortranDimitri van Heesch2018-04-221-2/+2
|\ \ | | | | | | Fortran improvements
| * | Fortran improvementsalbert-github2018-02-121-2/+2
| |/ | | | | | | | | | | | | | | | | | | - adding NON_RECURSIVE - better handling of missing PROGRAM in case of following module / subroutine in same file - ignore (numeric)-labels in fixed source form - adding support for - TYPE IS - CLASS IS - CLASS DEFAULT
* | Fortran improvements (2)albert-github2018-02-151-18/+31
|/ | | | | - handling of type / class statement especially in declarations in source browser and scanner - color code import statement in source browser
* Misc. typosluzpaz2017-12-231-1/+1
| | | | | 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
* Code color of , (comma) together with only in use statementalbert-github2017-11-181-8/+8
| | | | The comma was colored as part of the word only (keywordtype), this should not be the case.
* Bug 733705 - parser misinterpreting fortranalbert-github2017-08-231-66/+79
| | | | Corrected handling of (local) variables as functions as well as handling of non Fortran variables used in Fortran code.
* flex: use %option instead of command line options.Adrian Negreanu2016-09-211-0/+3
|
* Bug 770660 - Code snippet always shows line numbers from 1albert-github2016-09-031-5/+6
| | | | | | | | | 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)
* Merge pull request #501 from ↵Dimitri van Heesch2016-08-201-0/+10
|\ | | | | | | | | albert-github/feature/bug_code_keyword_operator_assignment Color code word OPERATOR and ASSIGNMENT as keyword in FORTRAN code
| * Color code word OPERATOR and ASSIGNMENT as keyword in FORTRAN codealbert-github2016-08-191-0/+10
| |
* | Color code word RESULT as keyword in FORTRAN codealbert-github2016-08-181-1/+6
|/
* Style fixes and added numbering to overloaded membersDimitri van Heesch2016-07-301-1/+1
|
* 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-3/+3
|
* 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.
* Better handling of implicit statement in source code browseralbert-github2015-08-271-1/+1
| | | | When using e.g. IMPLICIT INTEGER only the IMPLICIT was seen as keyword and INTEGER was not seen as keyword. Now types are seen as keywords as well.
* drop #include <unistd.h>Adrian Negreanu2015-05-151-2/+2
| | | | Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
* Fortran: fixed format position 73 and further is commentalbert-github2015-01-041-7/+24
| | | | According to the Fortran standard position 73 and further on a line are comment. Until now this was not considered.
* Fortran: code color GOTO as flow keyword.albert-github2015-01-031-1/+1
|
* Supporting linking for methods bound to FORTRAN classes in source definitionsChris Hansen2014-12-211-4/+13
|
* Merge pull request #247 from hansec/FORTRAN_moduleNSDimitri van Heesch2014-12-201-4/+37
|\ | | | | Convert FORTRAN modules to namespaces
| * Remove filtering rule when generating FORTRAN module linksChris Hansen2014-11-301-1/+1
| |