X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Fcontent_pres%2FcicNotationLexer.ml;h=67340d37a255662b1270a26ce757c18d82768de7;hb=85d82969f4b6b8e978aae5351702a8e8d3b49174;hp=8848a3ce5045b4648e1d3f8b49fe5db27444e931;hpb=7f2444c2670cadafddd8785b687ef312158376b0;p=helm.git diff --git a/components/content_pres/cicNotationLexer.ml b/components/content_pres/cicNotationLexer.ml index 8848a3ce5..67340d37a 100644 --- a/components/content_pres/cicNotationLexer.ml +++ b/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 ->