]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/mathql/mQueryTLexer.mll
INDEXEs on hrefRel and hrefSort added.
[helm.git] / helm / ocaml / mathql / mQueryTLexer.mll
index 5dbb3d1b9641aa44c02ab43c89b40a0c0dd69adb..9cc22c2dcbc0d8076ea29124910bc8c248624967 100644 (file)
@@ -36,7 +36,7 @@
 { 
    open MQueryTParser
    
-   let debug = true
+   let debug = false
    
    let out s = if debug then prerr_endline s
 }
@@ -53,7 +53,7 @@ rule comm_token = parse
 and string_token = parse
    | '"'         { DQ  }
    | '\\' _      { STR (String.sub (Lexing.lexeme lexbuf) 1 1) }
-   | QSTR        { prerr_endline "STR"; STR (Lexing.lexeme lexbuf) }
+   | QSTR        { STR (Lexing.lexeme lexbuf) }
    | eof         { EOF }
 and query_token = parse
    | "(*"        { comm_token lexbuf }
@@ -87,7 +87,7 @@ and query_token = parse
    | "not"       { out "NOT"   ; NOT    }
    | "or"        { out "OR"    ; OR     }
    | "pattern"   { out "PAT"   ; PAT    }
-   | "ptoperty"  { out "PROP"  ; PROP   }
+   | "property"  { out "PROP"  ; PROP   }
    | "ref"       { out "REF"   ; REF    }
    | "refof"     { out "REFOF" ; REFOF  }
    | "relation"  { out "REL"   ; REL    }