Looks like there may be a bug with diamond includes. Consider this:

file1.flx
#include <flx.flxh>

print "file1"; endl;
val x = 1;

file2.flx:
#include <flx.flxh>
#include "file1.flx"

print "file2"; endl;


file3.flx:
#include <flx.flxh>
#include "file1.flx"

print "file3"; endl;

file4.flx:
#include <flx.flxh>
#include "file2.flx"
#include "file3.flx"

print print "file4"; endl;


Is erroring out with this:
CLIENT ERROR
[build_tables] Duplicate non-function x<4621>
In ./file1.flx: line 4, cols 1 to 10
3: print "file1"; endl;
4: val x = 1;
   **********
5: <eof>

See also ./file1.flx: line 4, cols 1 to 10
3: print "file1"; endl;
4: val x = 1;
   **********
5: <eof>




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to