Skip to content

Commit

Permalink
Improve parsing algorithm to handle spaces and comments #63 fix for `…
Browse files Browse the repository at this point in the history
…@define`
  • Loading branch information
xonixx committed Oct 10, 2021
1 parent 6f6d1bf commit 524241c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makesure.awk
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ BEGIN {

{
Lines[NR]=$0
if ($1 ~ /^@/) reparseCli()
if ($1 ~ /^@/ && "@define" != $1) reparseCli()
if ("@options" == $1) handleOptions()
else if ("@define" == $1) handleDefine()
else if ("@shell" == $1) handleShell()
Expand Down

0 comments on commit 524241c

Please sign in to comment.