Commit 6c8b4b81 authored by Colin Eles's avatar Colin Eles
Browse files

fixed a bug in new code

git-svn-id: https://groke.mcmaster.ca/svn/grad/colin/trunk/TableTool@6897 57e6efec-57d4-0310-aeb1-a6c144bb1a8b
parent dbdb5a51
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -98,8 +98,9 @@ if (exception_flag)
           
           str = regexp(parsed_input{i}(2),'(?<=\|).*(?=})','match','once');
           
           if (~isempty(char(str)))
                cons_string = [cons_string sprintf('if ~(%s) \n  exception = true;\n  return;\nelse\n  exception = false;\nend\n',char(str))];
           
           end
           
       end