diff options
| Commit | 5c659c2b631728226b29c90bbae229b4f399ddae (patch) | |
|---|---|---|
| Author | 2023-11-23 19:56:22 +0200 | |
| Committer | 2023-11-23 19:56:37 +0200 | |
| Files | 093ee6ef7967463500c027e28886358ddc0ead4d | |
| csma-5c659c2b631728226b29c90bbae229b4f399ddae.tar csma-5c659c2b631728226b29c90bbae229b4f399ddae.tar.gz csma-5c659c2b631728226b29c90bbae229b4f399ddae.zip | ||
| Parent | 287831e5d785ef94857b39d291306db158dedfdb (diff) | |
[csmap] No more removal of leading tabulation
1 files changed, 0 insertions, 11 deletions
| -rwxr-xr-x | csmap.awk | 11 |
@@ -84,8 +84,6 @@ stage1 && /<[^>]*>[[:blank:]]*\{/ { } stage1 && /<[^>]*>/ { - removeLeadingTabulation() - # Start searching for a potential opening brace macroNameOnly = 1 macroNameLine = $0 @@ -96,8 +94,6 @@ stage1 && /<[^>]*>/ { stage1 && depth >= 1 { depth += gsub("{", "{") - gsub("}", "}") - removeLeadingTabulation() - skipORS = 0 if (depth <= namevec_TopDepth()) { # Remove macro closing braces @@ -121,13 +117,6 @@ stage1 && depth >= 1 { next } -function removeLeadingTabulation() { - # Remove leading tabulation when inside macro definition - for (i = namevec_Length(); i > 0; i--) { - sub(/^ /, "") - } -} - # # Stage 2 # Do substitution |
