Changeset 5ff68b in git for gfanlib/gfanlib_polymakefile.cpp
- Timestamp:
- Oct 14, 2014, 10:31:31 PM (9 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 97351e66f70a4390d6f911ee38436e695b8ec551
- Parents:
- 5a60835ee02dcb3d57c9e469c5d50e25ec5d29db
- git-author:
- Yue Ren <ren@mathematik.uni-kl.de>2014-10-14 23:31:31+03:00
- git-committer:
- Yue Ren <ren@mathematik.uni-kl.de>2015-02-06 13:47:01+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gfanlib/gfanlib_polymakefile.cpp
r5a6083 r5ff68b 9 9 10 10 #include <assert.h> 11 #include <stdio.h> 11 12 #include <sstream> 12 13 #include <istream> 13 #include <stdio.h>14 14 15 15 using namespace std; … … 53 53 list<int> ret; 54 54 int c=s.peek(); 55 while(((c>='0') && (c<='9')) 55 while(((c>='0') && (c<='9'))|| (c==' ')) 56 56 { 57 57 // fprintf(Stderr,"?\n"); … … 171 171 else 172 172 { 173 //fprintf(f,"_application %s\n",application.c_str());174 //fprintf(f,"_version 2.2\n");175 //fprintf(f,"_type %s\n",type.c_str());173 fprintf(f,"_application %s\n",application.c_str()); 174 fprintf(f,"_version 2.2\n"); 175 fprintf(f,"_type %s\n",type.c_str()); 176 176 177 177 for(list<PolymakeProperty>::const_iterator i=properties.begin();i!=properties.end();i++) … … 201 201 else 202 202 { 203 //file << "_application " << application << endl;204 //file << "_version 2.2\n";205 //file << "_type " << type << endl;203 file << "_application " << application << endl; 204 file << "_version 2.2\n"; 205 file << "_type " << type << endl; 206 206 207 207 for(list<PolymakeProperty>::const_iterator i=properties.begin();i!=properties.end();i++)
Note: See TracChangeset
for help on using the changeset viewer.