Changeset 389de9a for app/src/ser
- Timestamp:
- 03/20/08 12:08:21 (17 years ago)
- Branches:
- master, help
- Children:
- c8e8fa8
- Parents:
- 20b4e44
- git-author:
- pawelk <pawelk@…> (03/20/08 12:08:21)
- git-committer:
- pawelk <pawelk@…> (03/20/08 12:08:21)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/src/ser/ser
r20b4e44 r389de9a 156 156 157 157 158 system "m4 \"--define=PATTERN=$flexpattern\" \"--define=DEFAULTACTION=$defaultaction\" $flextemplate > $tmpfile_l";158 `m4 "--define=PATTERN=$flexpattern" "--define=DEFAULTACTION=$defaultaction" $flextemplate > $tmpfile_l`; 159 159 160 160 if($flex) 161 161 { 162 #system "cat $tmpfile_l";163 162 if(open(FLEX, $tmpfile_l)) { 164 163 while(<FLEX>) { … … 173 172 } 174 173 175 system "flex -o$tmpfile_c $tmpfile_l";176 system "cc -O3 -o $tmpfile_x $tmpfile_c -lfl";177 system "$tmpfile_x";174 `flex -o$tmpfile_c $tmpfile_l`; 175 `cc -O3 -o $tmpfile_x $tmpfile_c -lfl`; 176 `$tmpfile_x`; 178 177 179 #system "rm -f $tmpfile_l $tmpfile_c $tmpfile_x";180 178 unlink $tmpfile_l; 181 179 unlink $tmpfile_c; 182 180 unlink $tmpfile_x; 183
Note: See TracChangeset
for help on using the changeset viewer.