Changeset 3720
- Timestamp:
- Nov 13, 2019, 11:12:06 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/netlabs/macros/recompile.e ¶
r3719 r3720 179 179 ; Doesn't respect options from the commandline, like /v or /e <logfile>. 180 180 defc Et, Etpm 181 rc = Etpm( arg( 1), '')181 rc = Etpm( arg( 1), EtpmErrorMsg) -- EtpmErrorMsg is not used here 182 182 183 183 defproc Etpm( EtpmArgs, var EtpmErrorMsg) … … 249 249 deltalen = length( Os2Cmd) - 224 250 250 if deltalen > 0 then 251 sayerror 'Command: 'Os2Cmd 252 sayerror 'Error: command is 'deltalen' chars too long. Shorten filename or use an OS/2 or EPM shell window.' 251 'SayError Command: 'Os2Cmd 252 EtpmErrorMsg = 'Error: command is 'deltalen' chars too long. Shorten filename or use an OS/2 or EPM shell window.' 253 'SayError' EtpmErrorMsg 253 254 rc = -263 -- sayerror( 'Invalid argument') 254 255 leave … … 262 263 if rc = 0 then 263 264 refresh 264 sayerror COMP_COMPLETED__MSG': 'BaseName 265 EtpmErrorMsg = COMP_COMPLETED__MSG': 'BaseName 266 265 267 elseif rc = -2 then 266 sayerror CANT_FIND_PROG__MSG EtpmCmd 267 stop 268 EtpmErrorMsg = CANT_FIND_PROG__MSG EtpmCmd 268 269 elseif rc = 41 then 269 sayerror 'ETPM.EXE:' CANT_OPEN_TEMP__MSG '"'TempFile'"' 270 stop 270 EtpmErrorMsg = 'ETPM.EXE:' CANT_OPEN_TEMP__MSG '"'TempFile'"' 271 271 elseif Exist( TempFile) then 272 272 EtpmErrorMsg = Ec_Position_On_Error( TempFile) 273 'SayError' EtpmErrorMsg274 273 rc = etpmrc 275 274 else 276 sayerror'ETPM.EXE returned rc = 'etpmrc' for "'Os2Cmd'"'275 EtpmErrorMsg = 'ETPM.EXE returned rc = 'etpmrc' for "'Os2Cmd'"' 277 276 rc = etpmrc 277 endif 278 if EtpmErrorMsg <> '' then 279 'SayError' EtpmErrorMsg 278 280 endif 279 281 ; call erasetemp( TempFile) … … 310 312 parse value textline( .last - 1) with 'line= ' Line 311 313 parse value textline( .last - 2) with 'filename=' Filename 314 Col = strip( Col) 315 Line = strip( Line) 316 Filename = strip( Filename) 317 EtpmErrorMsg = EtpmErrorMsg' on ('Line','Col') in 'Filename 312 318 'xcom q' 313 319 'e 'Filename -- not xcom here, respect user's window style
Note:
See TracChangeset
for help on using the changeset viewer.