I did a fresh install of the Ubuntu 6.06 Live CD, did an update, then
installed emc2-dev. I copied xor2.comp to my home directory:
~~~~ xor2.comp ~~~~
component xor2 "Two-input XOR (exclusive OR) gate";
pin in bit in0;
pin in bit in1;
pin out bit out;
function _ nofp;
license "GPL";
007 ;;
FUNCTION(_) {
if (( in0 && !in1 ) || ( in1 && !in0 )) {
out = 1;
} else {
out = 0;
}
}
~~~~ xor2.comp ~~~~
and ran "comp xor2.comp" which I believe should return an xor2.c file. I
got the following instead:
...
[EMAIL PROTECTED]:~$ comp xor2.comp
Traceback (most recent call last):
File "/usr/bin/comp", line 678, in ?
main()
File "/usr/bin/comp", line 666, in main
process(f, mode, outfile)
File "/usr/bin/comp", line 600, in process
a, b = f.split("\n;;\n", 1)
ValueError: need more than 1 value to unpack
[EMAIL PROTECTED]:~$
...
Any ideas on what to do next would be appreciated. Thanks
Kirk Wallace
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users