From: Claudio Sacerdoti Coen Date: Wed, 17 Mar 2004 13:39:23 +0000 (+0000) Subject: Bug fixed for theorems whose statement are like X-Git-Tag: v0_0_4~12 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=7fb6c1dba9a3cc1285344262d73f6ce11ee96a9e;p=helm.git Bug fixed for theorems whose statement are like ((A -> B) -> C) -> D --- diff --git a/helm/metadata/extractor/meta_lex.l b/helm/metadata/extractor/meta_lex.l index a8621ea38..c4c23e847 100644 --- a/helm/metadata/extractor/meta_lex.l +++ b/helm/metadata/extractor/meta_lex.l @@ -115,7 +115,8 @@ value [^"]+ position = MAINHYP; else if (position == MAINHYP) { position = INHYP; - no_open_source++;}; + no_open_source = 1;} + else if (position == INHYP) no_open_source++; } "" | diff --git a/helm/metadata/extractor/meta_lex_ind.l b/helm/metadata/extractor/meta_lex_ind.l index 3d3ad97ce..9f474bf85 100644 --- a/helm/metadata/extractor/meta_lex_ind.l +++ b/helm/metadata/extractor/meta_lex_ind.l @@ -156,7 +156,8 @@ id [a-zA-Z]([-_'a-zA-Z0-9])* position = MAINHYP; else if (position == MAINHYP) { position = INHYP; - no_open_source++;}; + no_open_source = 1;} + else if (position == INHYP) no_open_source++; } "" |