Here's a short, probably incomplete list of features added in 'comp'
that are not in 2.1.x:
* 'modparam' declaration
* 'license' declaration
* 'variable' declaration
* 'personality' declaration
* 'see_also' declaration
* 'description' declaration
* arrays of pins and parameters
* dots in h
Thank you, Jeff. It seems to be working now.
The difference seems to be:
...
function _ nofp;
license "GPL"; <--
;;
...
doesn't work,
...
;;
MODULE_LICENSE("GPL"); <--
FUNCTION(_) {
...
does work.
I used the first file
( http://cvs.linuxcnc.org/lxr/source/src/hal/components/xor2.comp )
bec
On Sun, Aug 26, 2007 at 02:11:15PM -0700, Kirk Wallace wrote:
> Now I get:
>
> [EMAIL PROTECTED]:~$ comp xor2.comp
> xor2.comp:6:1: Trying to find one of "$", "component", "pin", "param",
> "function ", "option"
> > component xor2 "Two-input XOR (exclusive OR) gate";
> > ^
> while parsing File()
Ops. My mistake. 007 is a line number I failed to delete.
Now I get:
...
[EMAIL PROTECTED]:~$ comp xor2.comp
xor2.comp:6:1: Trying to find one of "$", "component", "pin", "param",
"function ", "option"
> component xor2 "Two-input XOR (exclusive OR) gate";
> ^
while parsing File():
[EMAIL PROTEC
> 007 ;;
The ";;" must be on a line of its own with no extra characters including
white space or control characters -- I'm not sure how agent 007 got in
there, but he's the one causing the problem.
Jeff
-
This SF.net email i