From 4e33d9d5605263a8a53d73357cea4ed531823801 Mon Sep 17 00:00:00 2001 From: Brandon Jackson <1drummer@att.net> Date: Tue, 22 Sep 2015 21:54:13 -0500 Subject: [PATCH] Update Parserv2.cpp --- Parserv2.cpp | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/Parserv2.cpp b/Parserv2.cpp index 13486cb..0db1a5a 100755 --- a/Parserv2.cpp +++ b/Parserv2.cpp @@ -62,7 +62,6 @@ void displayTokenList(vector input) } } - vector insertCMD(vector input) { //relation name will be the first element of the vector of data returned by this function @@ -137,6 +136,47 @@ vector exitCMD(vector input) return input; } +vector saveCMD(vector input) +{ + if (input.size() > 3) + { + cout<<"Syntax error!"< closeCMD(vector input) +{ + if (input.size() > 3) + { + cout<<"Syntax error!"< openCMD(vector input) +{ + if (input.size() > 3) + { + cout<<"Syntax error!"< createCMD(vector input) {