summaryrefslogtreecommitdiffstats
path: root/src/pycode.l
Commit message (Collapse)AuthorAgeFilesLines
* Split language parser into "outline parser" and "code parser"Dimitri van Heesch2019-12-031-0/+29
|
* Remove bogus flex codeDimitri van Heesch2019-11-181-9/+0
|
* 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-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 ```
* Consistent way to show scanner statealbert-github2019-09-051-0/+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.
* Some fixes and restructuringDimitri van Heesch2019-08-061-0/+8
| | | | | | - moved unescapeCharsInString to util.cpp - restructured flow keyword counting - make flow keyword counting work for python and fortran code as well
* Merge branch 'feature/bug_endblock_msg' of ↵Dimitri van Heesch2019-08-041-4/+4
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_endblock_msg
| * Correction warning messagealbert-github2019-06-011-4/+4
| | | | | | | | Consistency
* | Improved constness and avoid using non-const members of aliasesDimitri van Heesch2019-07-291-11/+11
|/
* Further const correctness changesDimitri van Heesch2019-05-051-2/+2
|
* Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-18/+18
|
* Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-5/+5
|
* 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.
* Fixed some more small memory leaksDimitri van Heesch2018-12-261-2/+4
|
* Update pycode.lArmin Müller2018-08-211-2/+2
|
* Small problems when displaying python codealbert-github2018-05-221-4/+26
| | | | | | - with was not colored (in pyscanner the KEYWORD item was not used, so removed as dead code) - incorrect handling of a 'triquote' at end of string - incorrect handling of a stringprefix followed by the end of a string
* flex: use %option instead of command line options.Adrian Negreanu2016-09-211-0/+2
|
* Python strip code commentsalbert-github2016-09-031-1/+1
| | | | | | | | | | | | | | | | In python the STRIP_CODE_COMMENTS didn't work properly, the "## /file" was not seen by the rule <*>{POUNDCOMMENT}" as the longer "<*>"#".* took precedence. Example file bb.py: ## \file # ## pyfie docu # \include aa.h # \include bb.py # \include cc.f # def pyfie(): pass
* Bug 770660 - Code snippet always shows line numbers from 1albert-github2016-09-031-8/+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)
* Determination of end of parameter listalbert-github2016-08-271-0/+4
| | | | The determination of a parameter list should not stop at a newline character.
* Bug 766464 - python: missing cross-links in sources (option SOURCE_BROWSER = ↵albert-github2016-05-161-0/+16
| | | | | | YES) Linking first element after "self" or "cls"
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-3/+3
| | | | improve performance
* Minor change to pycode.l:codifyLinesDimitri van Heesch2015-12-261-3/+3
|
* Merge branch 'feature/bug_593642' of ↵Dimitri van Heesch2015-12-261-29/+110
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_593642
| * Bug 593642 - Python: STRIP_CODE_COMMENTS Doesn't work within the source codealbert-github2015-12-251-29/+110
| | | | | | | | In case STRIP_CODE_COMMENTS is set the doxygen specific comment is stripped from the output.
* | Bug 735152 - Python: Allow undocumented "cls" parameter for class methodsalbert-github2015-12-261-0/+8
|/ | | | Made 'cls' parameter analogous to the 'self' parameter. See also https://www.python.org/dev/peps/pep-0008 (paragraph: Function and method arguments)
* Fixed preprocessor macros for flex version checklameventanas2015-11-251-1/+1
|
* 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
|
* Remove unused local and static global variablesalbert-github2014-12-271-1/+0
| | | | Remove unused local and static global variables. Variables have been identified by Understand (version 758) from Scitools.
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* 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-35/+11
| | | | | | | 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.
* Bug 707353 - Accept IDs using unicode(non ASCII) characters in python codesDimitri van Heesch2013-09-041-2/+2
|
* Added SOURCE_TOOLTIPS option for advanced tooltip support while source browsingDimitri van Heesch2013-07-021-18/+24
|
* Release-1.8.3.1-20130512Dimitri van Heesch2013-05-121-0/+2
|
* Release-1.8.3.1-20130402Dimitri van Heesch2013-04-021-2/+2
|
* Release-1.8.3.1-20130324Dimitri van Heesch2013-03-241-6/+5
|
* Release-1.8.3.1-20130209Dimitri van Heesch2013-02-091-12/+25
|
* Release-1.8.3.1Dimitri van Heesch2013-01-201-1/+1
|
* Release-1.8.2-20121118Dimitri van Heesch2012-11-181-0/+5
|
* Release-1.8.2-20120930Dimitri van Heesch2012-09-301-1/+1
|
* Release-1.8.2Dimitri van Heesch2012-08-111-11/+31
|
* Release-1.8.1.2-20120729Dimitri van Heesch2012-07-291-0/+1
|
* Release-1.8.1Dimitri van Heesch2012-05-191-1/+1
|
* Release-1.8.0Dimitri van Heesch2012-02-251-9/+4
|
* Release-1.7.6.1-20120220Dimitri van Heesch2012-02-201-1/+1
|
* Release-1.7.6.1-20111226Dimitri van Heesch2011-12-261-51/+72
|