|
|
|
|
#1 |
|
Junior Member
Join Date: Oct 2004
Location: UK
Posts: 33
|
If I comment out the ${For} and ${Next} lines, the compiler tells me this:
I am include number 10 (file1.nsh:5) !undef: "FILENUM" !define: "FILENUM"="10" !include: "file1.nsh" parseScript: too many levels of includes (10 max). So even though the limit is 10 there is a bug with LogicLib at 8 levels. Recursive insertmacro doesn't work either: !insertmacro: macro "recurse" already being inserted! This means there is no way to do any kind of compile-time looping which is very restrictive. 1. Bug with include/LogicLib definitely needs fixing because that could be down to something more serious. 2. Pretty pretty please remove the 10-level nested include limit. Unlimited if possible, increased to at least 32 if there has to be a limit... That or allow recursive macro-inserts. I've never been very sure about what is right. I'm not even sure that there is such a thing as right. Or wrong. Just places to stand. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|