dont break .inc in addition to .include lines

This commit is contained in:
Stefan Frederik 2021-01-24 04:19:52 +01:00
parent ac99227365
commit 1c19976ff5
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ BEGIN{ quote=0 }
first = substr($0,1,1)
# dont break .include lines as ngspice chokes on these.
if(tolower($1) ~ /\.include|\.lib|\.title|\.save/) nobreak = 1
if(tolower($1) ~ /\.inc(lude)?|\.lib|\.title|\.save/) nobreak = 1
else nobreak = 0
# 20151203 faster executionif no {}' present
if($0 ~/[{}']/ || quote) {