opensubscriber
   Find in this group all groups
 
Unknown more information…

h : help-gnucap@gnu.org 11 September 2009 • 11:11AM -0400

Re: [Help-gnucap] inline comment delimiter
by al davis

REPLY TO AUTHOR
 
REPLY TO GROUP




On Thursday 10 September 2009, asomers@gmai... wrote:
> I'm having a little trouble getting inline comments to work.
> According to the manual, "Anything on any line following a
>  quote is ignored.".  But the manual doesn't say whether to
>  use single or double quotes.

Where does it say that?  It's wrong.

Quoting in the middle of a line can't be a comment, because
quotes can enclose expressions.  Some versions of spice use it
that way, so gnucap must accept it that way.

There really isn't a general here-to-the-end-of-line comment.  
There should be.  What it is would depend on what format you are
using ..(spice, spectre, verilog, ...)

> Can someone clear me up here?  I'm working on a tool to
>  automatically convert LTSpice models into Gnucap models, so
>  'just change it by hand' isn't a viable solution.  I need to
>  be able to choose the right delimiter in all cases.

Gnucap should be able to read LTspice netlists and models as is,
but I haven't looked at it to know if it really does.


_______________________________________________
Help-gnucap mailing list
Help-gnucap@gnu....
http://lists.gnu.org/mailman/listinfo/help-gnucap

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.