From 6fe74c3e36b7ad508e5ba4320849b1043d789b3e Mon Sep 17 00:00:00 2001
From: alangfel <alangfel@techfak.uni-bielefeld.de>
Date: Sun, 6 Jul 2014 13:53:20 +0200
Subject: [PATCH] restructured grammar

---
 ps-grammar/restaurant/otherCommand.jsgf | 3 ++-
 ps-grammar/restaurant/saveCommand.jsgf  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ps-grammar/restaurant/otherCommand.jsgf b/ps-grammar/restaurant/otherCommand.jsgf
index e2928401..8c68495f 100644
--- a/ps-grammar/restaurant/otherCommand.jsgf
+++ b/ps-grammar/restaurant/otherCommand.jsgf
@@ -1,7 +1,8 @@
 #JSGF V1.0;
 grammar restaurant_save_command;
 
-public <restaurant> = <followMe> | <stop> | <ordering>;
+public <restaurant> = <followMe> | <stop> | <ordering> | <save>;
+<save> = save [[a] location];
 <followMe> = (follow me) | (come [(with me) | here]) | (keep up);
 <ordering> = ordering;
 <stop> = stop [this];
diff --git a/ps-grammar/restaurant/saveCommand.jsgf b/ps-grammar/restaurant/saveCommand.jsgf
index 472b0847..10fad9be 100644
--- a/ps-grammar/restaurant/saveCommand.jsgf
+++ b/ps-grammar/restaurant/saveCommand.jsgf
@@ -4,5 +4,6 @@ grammar restaurant_save_command;
 public <restaurant> = [tobi] [please] save ( <deliveryLocations> | <objectCategory> ) [[to | on] [the | my] ( <savePlaceLeft> | <savePlaceRight> )];
 <savePlaceLeft> = left;
 <savePlaceRight> = right;
-<deliveryLocations> = table (one | two | three);
+<deliveryLocations> = table <numberOfTable>;
+<numberOfTable> = one | two | three;
 <objectCategory> = drinks | snacks;
-- 
GitLab