| indtyuri { INDTYURI (indtyuri_of_uri ("cic:" ^ L.lexeme lexbuf)) }
| indconuri { INDCONURI (indconuri_of_uri("cic:" ^ L.lexeme lexbuf)) }
| num { NUM (int_of_string (L.lexeme lexbuf)) }
- | '?' num { META (int_of_string (L.lexeme lexbuf)) }
+ | '?' num { let lexeme = L.lexeme lexbuf in
+ META
+ (int_of_string
+ (String.sub lexeme 1 (String.length lexeme - 1))) }
| ":>" { CAST }
| ":=" { LETIN }
| '?' { IMPLICIT }