1027 {
1028 g_config->appendUserComment(yytext);
1030 }
1031<Start>"#".*"\n" { /* normal comment */
1033 }
1034
1035
1036
1037<Start>[a-z_A-Z][a-z_A-Z0-9]*[ \t]*"=" { g_cmd=yytext;
1040 if (option==0)
1041 {
1044 BEGIN(SkipInvalid);
1045 }
1046 else
1047 {
1050 switch(option->
kind())
1051 {
1053
1054 BEGIN(SkipInvalid);
1055 break;
1060 BEGIN(GetStrList);
1061 break;
1065 BEGIN(GetString);
1066 break;
1070 BEGIN(GetString);
1071 break;
1075 BEGIN(GetString);
1076 break;
1080 BEGIN(GetString);
1081 break;
1084 {
1087 }
1088 else
1089 {
1091 " To avoid this warning please remove this line from your configuration "
1093 }
1096 {
1100 BEGIN(GetStrList);
1101 }
1102 else
1103 {
1106 BEGIN(GetString);
1107 }
1108 break;
1111 {
1112 ConfigImpl::config_warn(
"Tag '{}' at line {} of file '{}' belongs to an option that was not enabled at compile time.\n"
1114 }
1115 else
1116 {
1117 ConfigImpl::config_warn(
"Tag '{}' at line {} of file '{}' belongs to an option that was not enabled at compile time.\n"
1118 " To avoid this warning please remove this line from your configuration "
1120 }
1121 BEGIN(SkipInvalid);
1122 break;
1123 }
1124 }
1125 }
Class representing a Boolean type option.
Class representing an enum type option.
Class representing an integer type option.
Class representing a list type option.
Section marker for obsolete options.
Abstract base class for any configuration option.
void setEncoding(const QCString &e)
void setUserComment(const QCString &u)
@ O_Disabled
Disabled compile time option.
@ O_Enum
A fixed set of items.
@ O_Obsolete
An obsolete option.
@ O_Info
A section header.
static bool g_configUpdate
1126<Start>[a-z_A-Z][a-z_A-Z0-9]*[ \t]*"+=" { g_cmd=yytext;
1129 if (option==0)
1130 {
1133 BEGIN(SkipInvalid);
1134 }
1135 else
1136 {
1138 switch(option->
kind())
1139 {
1141
1142 BEGIN(SkipInvalid);
1143 break;
1147 BEGIN(GetStrList);
1148 break;
1155 BEGIN(SkipInvalid);
1156 break;
1159 "To avoid this warning please update your configuration "
1162 {
1165 BEGIN(GetStrList);
1166 }
1167 else
1168 {
1169 BEGIN(SkipInvalid);
1170 }
1171 break;
1173 ConfigImpl::config_warn(
"Tag '{}' at line {} of file {} belongs to an option that was not enabled at compile time.\n"
1174 "To avoid this warning please remove this line from your configuration "
1175 "file, upgrade it using \"doxygen -u\", or recompile doxygen with this feature enabled.\n",
1177 BEGIN(SkipInvalid);
1178 break;
1179 }
1180 }
1181 }
1182
1183
1184
1185<Start>"@INCLUDE_PATH"[ \t]*"=" { BEGIN(GetStrList); g_list=&g_includePathList; g_list->clear(); g_listStr=""; }
1186
1187<Start>"@INCLUDE"[ \t]*"=" { BEGIN(Include);}
1188<Start>"$("{REGEX_a}({REGEX_w}|[.-])*")" | // e.g. $(HOME)
1189<Start>"$("{REGEX_a}({REGEX_w}|[.-])*"("{REGEX_a}({REGEX_w}|[.-])*"))" { // e.g. $(PROGRAMFILES(X86))
1192 {
1193 BEGIN(StoreRepl);
1194 }
1195 else
1196 {
1199 }
1200 }
static QCString g_localStoreRepl
#define unput_string(yytext, yyleng)
static Config::CompareMode g_compareMode
1201<Start>"@"{REGEX_a}{REGEX_w}*"@" {
1203 {
1205 BEGIN(StoreRepl);
1206 }
1207 else
1208 {
1211 }
1212 }
1213<Include>([^ \"\t\r\n]+)|("\""[^\n\"]+"\"") {
1215 BEGIN(Start);
1216 }
static void readIncludeFile(const QCString &incName)
1217<<EOF>> {
1218
1219
1221 {
1222
1224 }
1225 else
1226 {
1229 YY_BUFFER_STATE oldBuf = YY_CURRENT_BUFFER;
1230 yy_switch_to_buffer( fs->oldState );
1231 yy_delete_buffer( oldBuf );
1235 }
1236 }
1237
1238<Start>[a-z_A-Z0-9]+ { ConfigImpl::config_warn("ignoring unknown tag '{}' at line {}, file {}\n",yytext,g_yyLineNr,g_yyFileName); }
1239
1240
1241<StoreRepl>\n {
1247 BEGIN(Start);
1248 }
static void processStoreRepl(QCString &storeReplStr)
1249<StoreRepl>\\[ \r\t]*\n { g_yyLineNr++; // line continuation
1251 }
1252<StoreRepl>"\\" { // escape character
1254 }
1255<StoreRepl>[^\n\\]+ { // string part without escape characters
1257 }
1258
1259
1260<GetString>\n { processString();
1262 BEGIN(Start);
1263 }
1264<GetString>\\[ \r\t]*\n { g_yyLineNr++; // line continuation
1266 }
1267<GetString>"\\" { // escape character
1269 }
1270<GetString>[^\n\\]+ { // string part without escape characters
1272 }
1273
1274
1275
1276<GetStrList>\n { processList();
1278 BEGIN(Start);
1279 }
1280<GetStrList>\\[ \r\t]*\n { g_yyLineNr++; // line continuation
1282 }
1283<GetStrList>"\\" { // escape character
1285 }
1286<GetStrList>[^\n\\]+ { // string part without escape characters
1288 }
1289
1290
1291
1292<SkipInvalid>\n { g_yyLineNr++; // end of list
1293 BEGIN(Start);
1294 }
1295<SkipInvalid>\\[ \r\t]*\n { g_yyLineNr++; // line continuation
1296 }
1297<SkipInvalid>"\\" { // escape character
1298 }
1299<SkipInvalid>[^\n\\]+ { // string part without escape characters
1300 }
1301
1302
1303
1304<*>\\[ \r\t]*\n { g_yyLineNr++; }
1305<*>[ \t\r]
1306<*>\n { g_yyLineNr++ ; }
1307<*>. { ConfigImpl::config_warn("ignoring unknown character '{:c}' at line {}, file {}\n",yytext[0],g_yyLineNr,g_yyFileName); }
1308
1309%%