summaryrefslogtreecommitdiffstats
path: root/src/lexcode.l
Commit message (Collapse)AuthorAgeFilesLines
* issue #8552 Javadoc: strange issue with @verbatim ... @endverbatimalbert-github2021-05-151-3/+21
| | | | | | | | | | | | | - Similar problems can occur with the `\startuml` and `msc` command. ``` /** * @startuml * {\f} @code * @enduml */ ``` - some further needed corrections (for lexcode) - `\endvhdlflow` does not exist
* Merge branch 'master' into feature/bug_formula_mjDimitri van Heesch2021-04-281-35/+62
|\
| * Merge branch 'feature/bug_lex_rules' of ↵Dimitri van Heesch2021-04-271-19/+45
| |\ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_lex_rules
| | * Better handling of rules in lex scannersalbert-github2021-03-101-19/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | - handling of square brackets, an opening square bracket inside a pair of square brackets has no special meaning unless followed by a colon (resulting in `[:...:]`. - handling of sharp brackets so that `<tst><<<WORD` is correctly hanlded - better handling of escaped charcters - handling of `(?...)` (Found during tests on some lex files available on Fossies).
| * | Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-16/+17
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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()'
* | Problems with some commands in MathJaxalbert-github2021-04-201-2/+2
|/ | | | | Especially with commands like `\f$\mbox{\LaTeX}\f$`MathJax has some problem as it is not, yet, able to use the commands `\raise` and `lower` inside the `\mbox` as used in this LaTeX command. Also switching in and out of math-mode doesn't work as the resulting code either doesn't work in MathJax or in LaTeX, hence the new command s `\f(` and `\f)`.
* Adding support for lex filesalbert-github2021-02-181-34/+51
| | | | | - Correct handling of C comment start and end tokens as well as Cpp comment start in rules. These tokes can give "Reached end of file while still inside a (nested) comment..." - Correct other warnings in respect to lex files
* Adding support for lex filesalbert-github2021-02-121-0/+1223
Adding support for lex. The lex files consist of a mixture of lex specific structures, that are handled in the the lexcode.l and lexscanner.l, abd C code that is handled by the C parsers (hence the rules used are partly copied from scanner.l). Special attention has been paid to memberdef.cpp as the initial values should not be handled by the lex parsers but by the C parsers.