Skip to content

Commit

Permalink
impr minify.awk
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Jan 9, 2024
1 parent 4eaf71c commit 0577848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion makesure_candidate
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ function parseCli_2(line,vars,vars2,res,pos,c,c1,isDoll,q,var,inDef,defVal,val,w
return"unterminated argument"
if(!inDef&&":"==c&&"-"==substr(line,pos+1,1)){
inDef=1
c=substr(line,pos += 2,1)}
c=substr(line,pos+=2,1)}
if(inDef){
if("}"==c)
break
Expand Down
1 change: 1 addition & 0 deletions minify.awk
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ function minifyLine( l,subs) {
gsub(/; +/, ";")
gsub(/ ~ /, "~")
gsub(/ !~ /, "!~")
gsub(/ \+= /, "+=")
gsub(/ > /, ">")
gsub(/ < /, "<")
gsub(/ \/ /, "/")
Expand Down

0 comments on commit 0577848

Please sign in to comment.