Skip to content
Snippets Groups Projects
Commit 2e60cd23 authored by Mark Lawford's avatar Mark Lawford
Browse files

Changing code to support PVS 6.0 and up.

git-svn-id: https://groke.mcmaster.ca/svn/grad/colin/trunk/TableTool@9447 57e6efec-57d4-0310-aeb1-a6c144bb1a8b
parent 2af6ba9c
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ else ...@@ -29,7 +29,7 @@ else
search_str = sprintf('(?<=Proving formula %s[\\n]*)%s.*?(?=[ \\n]*Rerunning step)',char(found(i)),char(found(i))); search_str = sprintf('(?<=Proving formula %s[\\n]*)%s.*?(?=[ \\n]*Rerunning step)',char(found(i)),char(found(i)));
elseif strncmp(object.pvs_version,'PVS Version 4.2',15) elseif strncmp(object.pvs_version,'PVS Version 4.2',15)
search_str = sprintf('(?<=Installing rewrite rule \\w+\\s\\s)%s.*?(?=[ \\n]*Rerunning step)',char(found(i))); search_str = sprintf('(?<=Installing rewrite rule \\w+\\s\\s)%s.*?(?=[ \\n]*Rerunning step)',char(found(i)));
elseif strncmp(object.pvs_version,'PVS Version 5.0',15) elseif strncmp(object.pvs_version,'PVS Version ',12) && str2num(object.pvs_version(13:15))>=5.0
search_str = sprintf('(?<=Installing rewrite rule.*\\s\\s)%s.*?(?=[ \\n]*Rerunning step)',char(found(i))); search_str = sprintf('(?<=Installing rewrite rule.*\\s\\s)%s.*?(?=[ \\n]*Rerunning step)',char(found(i)));
end end
found2 = regexp(result,char(search_str),'match','once'); found2 = regexp(result,char(search_str),'match','once');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment