summaryrefslogtreecommitdiffstats
path: root/addon/configgen/config_templ.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-08-29 16:55:26 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-08-29 16:55:26 (GMT)
commit26ded37d33ae68d85d5ae4b2e5555ff6ed944a44 (patch)
tree6cbbe764d1beb5389d2e9247c672b7af04684260 /addon/configgen/config_templ.l
parent8726fc640f878611e395b1d821661cff56a49e13 (diff)
downloadDoxygen-26ded37d33ae68d85d5ae4b2e5555ff6ed944a44.zip
Doxygen-26ded37d33ae68d85d5ae4b2e5555ff6ed944a44.tar.gz
Doxygen-26ded37d33ae68d85d5ae4b2e5555ff6ed944a44.tar.bz2
Release-1.2.1-20000829
Diffstat (limited to 'addon/configgen/config_templ.l')
-rw-r--r--addon/configgen/config_templ.l14
1 files changed, 14 insertions, 0 deletions
diff --git a/addon/configgen/config_templ.l b/addon/configgen/config_templ.l
index aab5755..98a688f 100644
--- a/addon/configgen/config_templ.l
+++ b/addon/configgen/config_templ.l
@@ -812,6 +812,20 @@ void checkConfig()
#endif
s=Config::includePath.next();
}
+
+ // check aliases
+ s=Config::aliasList.first();
+ while (s)
+ {
+ QRegExp re("[a-z_A-Z][a-z_A-Z0-9]*[ \t]*=");
+ QCString alias=s;
+ alias=alias.stripWhiteSpace();
+ if (alias.find(re)!=0)
+ {
+ err("Illegal alias format `%s'. Use \"name=value\"\n",alias.data());
+ }
+ s=Config::aliasList.next();
+ }
// check dot path
if (!Config::dotPath.isEmpty())