From: Andrea Asperti Date: Fri, 26 May 2006 08:03:20 +0000 (+0000) Subject: Bug fixed: the syntax "?n" used to be broken. It tried a string_of_int "?n". X-Git-Tag: make_still_working~7326 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=5376f7de4cc1b0687a197b9e42b10337b95f5742;p=helm.git Bug fixed: the syntax "?n" used to be broken. It tried a string_of_int "?n". --- diff --git a/helm/software/components/content_pres/cicNotationLexer.ml b/helm/software/components/content_pres/cicNotationLexer.ml index 8848a3ce5..67340d37a 100644 --- a/helm/software/components/content_pres/cicNotationLexer.ml +++ b/helm/software/components/content_pres/cicNotationLexer.ml @@ -279,7 +279,9 @@ let rec ligatures_token k = and level2_ast_token = lexer | xml_blank+ -> ligatures_token level2_ast_token lexbuf - | meta -> return lexbuf ("META", Ulexing.utf8_lexeme lexbuf) + | meta -> + let s = Ulexing.utf8_lexeme lexbuf in + return lexbuf ("META", String.sub s 1 (String.length s - 1)) | implicit -> return lexbuf ("IMPLICIT", "") | placeholder -> return lexbuf ("PLACEHOLDER", "") | ident ->