]> matita.cs.unibo.it Git - helm.git/commitdiff
Bug fixed: the syntax "?n" used to be broken. It tried a string_of_int "?n".
authorAndrea Asperti <andrea.asperti@unibo.it>
Fri, 26 May 2006 08:03:20 +0000 (08:03 +0000)
committerAndrea Asperti <andrea.asperti@unibo.it>
Fri, 26 May 2006 08:03:20 +0000 (08:03 +0000)
helm/software/components/content_pres/cicNotationLexer.ml

index 8848a3ce5045b4648e1d3f8b49fe5db27444e931..67340d37a255662b1270a26ce757c18d82768de7 100644 (file)
@@ -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 ->