diff options
author | albert-github <albert.tests@gmail.com> | 2021-02-12 17:02:11 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2021-02-12 17:02:11 (GMT) |
commit | 77c63397e832a7ad5c618b1aed7fc5de25ff6e89 (patch) | |
tree | e885da91ffeb6ab98455c4fd31598f5fd467d047 /src/docsets.cpp | |
parent | 4d8e0f3abdf682e323db79aec176854f2a8aa699 (diff) | |
download | Doxygen-77c63397e832a7ad5c618b1aed7fc5de25ff6e89.zip Doxygen-77c63397e832a7ad5c618b1aed7fc5de25ff6e89.tar.gz Doxygen-77c63397e832a7ad5c618b1aed7fc5de25ff6e89.tar.bz2 |
Adding support for lex files
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.
Diffstat (limited to 'src/docsets.cpp')
-rw-r--r-- | src/docsets.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/docsets.cpp b/src/docsets.cpp index 4f04623..9c29818 100644 --- a/src/docsets.cpp +++ b/src/docsets.cpp @@ -328,6 +328,7 @@ void DocSets::addIndexItem(const Definition *context,const MemberDef *md, case SrcLangExt_SQL: lang="sql"; break; // Sql case SrcLangExt_Markdown:lang="markdown"; break; // Markdown case SrcLangExt_Slice: lang="slice"; break; // Slice + case SrcLangExt_Lex: lang="lex"; break; // Lex case SrcLangExt_Unknown: lang="unknown"; break; // should not happen! } |