aboutsummaryrefslogtreecommitdiff
path: root/nls/convert.awk
diff options
context:
space:
mode:
Diffstat (limited to 'nls/convert.awk')
-rw-r--r--nls/convert.awk6
1 files changed, 3 insertions, 3 deletions
diff --git a/nls/convert.awk b/nls/convert.awk
index 744179c..813c470 100644
--- a/nls/convert.awk
+++ b/nls/convert.awk
@@ -4,13 +4,13 @@
4 4
5 if (major > 1) 5 if (major > 1)
6 printf "\n" > output 6 printf "\n" > output
7 printf "$set %d %s\n", major, $3 > output 7 printf "$set %d %s\n", major, $3 >> output
8 8
9 if (header) { 9 if (header) {
10 majorName = substr($3, 2) 10 majorName = substr($3, 2)
11 if (major > 1) 11 if (major > 1)
12 printf "\n" > header 12 printf "\n" > header
13 printf "#define %sSet %#x\n", majorName, major > header 13 printf "\t%sSet = %#x,\n", majorName, major >> header
14 } 14 }
15} 15}
16 16
@@ -19,7 +19,7 @@
19 19
20 if (header) { 20 if (header) {
21 minorName = substr($2, 2) 21 minorName = substr($2, 2)
22 printf "#define %s%s %#x\n", majorName, minorName, minor > header 22 printf "\t%s%s = %#x,\n", majorName, minorName, minor >> header
23 } 23 }
24} 24}
25 25