Currently the logic used to read in the statements from the input file is as follows:
The problem with this logic is that it REQUIRES a newline at the end of the file to read in all statements. While technically this is true of every program (https://stackoverflow.com/questions/729692/why-should-text-files-end-with-a-newline), in practice people expect programs to be able to handle files with a newline at the end and without.
Instead we probably need to move the check for !ifs.eof() to within the while loop.
We may also require some additional processing to remove the trailing char received from getline().
|For Gerrit Dashboard: CCBC-907|
|91027,2||CCBC-907: cbc-n1qlback: do not require trailing empty line for input||master||libcouchbase||Status: MERGED||+2||+1|