Changeset 1458 for trunk/src/kmk/expand.c
- Timestamp:
- Mar 31, 2008, 12:16:15 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/expand.c
r1440 r1458 518 518 char *result; 519 519 struct variable_set_list *save; 520 const struct floc *reading_file_saved; 520 521 521 522 if (file == 0) … … 524 525 save = current_variable_set_list; 525 526 current_variable_set_list = file->variables; 527 reading_file_saved = reading_file; 526 528 if (file->cmds && file->cmds->fileinfo.filenm) 527 529 reading_file = &file->cmds->fileinfo; … … 530 532 result = variable_expand_string (o, line, (long)-1); 531 533 current_variable_set_list = save; 532 reading_file = 0;534 reading_file = reading_file_saved; 533 535 534 536 return result;
Note:
See TracChangeset
for help on using the changeset viewer.