Closed lanurmi closed 9 years ago
Logged In: YES user_id=128244 Originator: YES
Fixed in revision 687. An example:
C:\Users\Jeremy\Projects\efte\build-mngw\config\mymain.fte:12: Error: HelloWorld has already been defined in: C:\Users\Jeremy\Projects\efte\build-mngw\config\m_plain.fte:9
For an internal command, it will report:
C:\Users\Jeremy\Projects\efte\build-mngw\config\mymain.fte:11: Error: InsertString is an internal command and cannot be redefined
Original comment by: jcowgar
Original comment by: jcowgar
If you:
sub HelloWorld { InsertString "Hello World" } sub HelloWorld { InsertString "Hello, World" }
the later will not cause an error, but will not work. In the above synario, it's clear that your overwriting an existing macro, however, things are not always so clear when you have 80 config files that are read.
cefte should report an error on the second instance of a macro by the same name.
Reported by: jcowgar
Original Ticket: "efte/bugs/17":https://sourceforge.net/p/efte/bugs/17