Re: [Emc-users] Comp Errors

2007-08-26 Thread Jeff Epler
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

Re: [Emc-users] Comp Errors

2007-08-26 Thread Kirk Wallace
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

Re: [Emc-users] Comp Errors

2007-08-26 Thread Jeff Epler
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()

Re: [Emc-users] Comp Errors

2007-08-26 Thread Kirk Wallace
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

Re: [Emc-users] Comp Errors

2007-08-26 Thread Jeff Epler
> 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