diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-02-01 13:59:42 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-02-01 13:59:42 (GMT) |
commit | e0e5c8556b4713e7dad60537658cd411f8dfd858 (patch) | |
tree | 95791f3a49cf176781e5089ddcf643f2aa8e93a1 /src/doctokenizer.l | |
parent | 5d7d90c39506fb7a19514dc4abd540018deeaaf6 (diff) | |
download | Doxygen-e0e5c8556b4713e7dad60537658cd411f8dfd858.zip Doxygen-e0e5c8556b4713e7dad60537658cd411f8dfd858.tar.gz Doxygen-e0e5c8556b4713e7dad60537658cd411f8dfd858.tar.bz2 |
Release-1.3-rc3
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r-- | src/doctokenizer.l | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l index 5b8ae93..d55e015 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -769,7 +769,8 @@ LABELID [a-z_A-Z][a-z_A-Z0-9\-]* processSection(); BEGIN(St_Sections); } -<St_SecLabel2>{LABELID}{BLANK}+ { +<St_SecLabel2>{LABELID}{BLANK}+ | +<St_SecLabel2>{LABELID} { g_secLabel = yytext; g_secLabel = g_secLabel.stripWhiteSpace(); BEGIN(St_SecTitle); @@ -780,6 +781,9 @@ LABELID [a-z_A-Z][a-z_A-Z0-9\-]* processSection(); BEGIN(St_Sections); } +<St_SecTitle,St_SecLabel1,St_SecLabel2>. { + warn(g_fileName,yylineno,"Error: Unexpected character `%s' while looking for section label or title",yytext); + } /* Generic rules that work for all states */ <*>\n { |