Mats Wichmann
Mats Wichmann
After a couple of missteps, this looks better: ``` 482/1279 (37.69%) C:\Python36\python.exe test\Fortran\USE-MODULE-live.py PASSED Test execution time: 2.6 seconds ```
After even more digging, I now think this *specific* problem has to do with the failure to handle `$FORTRANMODDIR` correctly. If a module directory is on the command line, the...
Adding a `variant_dir` test to this breaks things again, so there's more to think about. The default mode, `duplicate=True` doesn't seem to work at all (some debug in the emitter...
Attaching the test case for the above (rather than pushing as part of PR, yet), in case someone can spot my errors. [fort-variant.tar.gz](https://github.com/SCons/scons/files/13941594/fort-variant.tar.gz)
marking WIP for the time being.
I'll revisit this someday, no need to have it hanging around here for now.
To follow up on the final paragraph of the issue, in order to strip comments, we'd need to understand the syntax involved. The complication, as always, is context: if it's...
To save a bit of time, can you describe "doesn't work" in words? Currently wrestling with something in `FortranCommon` that could be of similar origin.
That does sound like one of the problems I've been chasing - and not completely solving yet. SCons makes the correct handling of these "extras" (that's not the right word...
Mmm, perhaps not the lamba, it doesn't expand `#`. So perhaps: ```py env['_DI_FLAGS'] = "$( ${_concat(DI_FILE_DIR_PREFIX, DI_FILE_DIR, DI_FILE_DIR_SUFFFIX, __env__, Dirs, TARGET, SOURCE)} $) ```