Proposal for fixing issue #1784 (Spice throws error at midline semicolon comments)

This commit is contained in:
Matthias Koefferlein
2024-07-28 22:24:15 +02:00
parent d3921844d6
commit 7978a2bb1d
5 changed files with 169 additions and 97 deletions
+14
View File
@@ -0,0 +1,14 @@
* Test: dismiss empty top level circuit
; a comment
.subckt top a b
m1 a b a b nmos * a comment
m2 a 'net"q"' \\a net[0] nmos * a comment
mfet\[1\] \a\x41a "net\"q\"" "\\a" net\[0\] nmos w=1.7u ; a comment
.ends
* this triggered generation of a top level circuit
.param p1 17 ; a comment
.end ; a comment