Changeset 389de9a for app/src/ser


Ignore:
Timestamp:
03/20/08 12:08:21 (17 years ago)
Author:
pawelk <pawelk@…>
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)
Message:

Program generujacy konfiguracje pyta sie o wybor slownika.
Dolozylem obsluge plikow tymczasowych w compiledict.
Zamienilem system na ` w perlu.

git-svn-id: svn://atos.wmid.amu.edu.pl/utt@14 e293616e-ec6a-49c2-aa92-f4a8b91c5d16

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/src/ser/ser

    r20b4e44 r389de9a  
    156156 
    157157 
    158 system "m4 \"--define=PATTERN=$flexpattern\" \"--define=DEFAULTACTION=$defaultaction\" $flextemplate > $tmpfile_l"; 
     158`m4 "--define=PATTERN=$flexpattern" "--define=DEFAULTACTION=$defaultaction" $flextemplate > $tmpfile_l`; 
    159159 
    160160if($flex) 
    161161{ 
    162         #system "cat $tmpfile_l"; 
    163162        if(open(FLEX, $tmpfile_l)) { 
    164163                while(<FLEX>) { 
     
    173172} 
    174173 
    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`; 
    178177 
    179 #system "rm -f $tmpfile_l $tmpfile_c $tmpfile_x"; 
    180178unlink $tmpfile_l; 
    181179unlink $tmpfile_c; 
    182180unlink $tmpfile_x; 
    183  
Note: See TracChangeset for help on using the changeset viewer.