Add "to" to prepositions
[mudsync.git] / mudsync / parser.scm
index e9c4096c1b3a298cb1ce1683e366d4eda8b1d2f9..6bba8dd7fd14c446e1be03bf220738e7848c8621 100644 (file)
@@ -61,7 +61,7 @@
 
 ;; definite and indefinite, but not partitive articles
 (define article '(or "the" "a" "an"))
-(define preposition '(or "with" "in" "on" "out of" "at"))
+(define preposition '(or "with" "in" "on" "out of" "at" "as" "to"))
 
 (define indirect-irx
   (sre->irregex
     (#f #f)))
 
 (define (cmatch-greedy phrase)
-  `((line . ,phrase)))
+  `(#:phrase ,phrase))
 
 ;; (define say-example "say I really need to get going.")
 ;; (define attack-sword-example "hit goblin with sword")