minor fix
This commit is contained in:
parent
08ae57e646
commit
d78a4ac9a9
2 changed files with 4 additions and 3 deletions
|
@ -43,6 +43,7 @@ Translation.m: $(MFILES)
|
|||
echo -e "enum {" >> ../blackbox-nls.hh; \
|
||||
awk -f ../convert.awk header=../blackbox-nls.hh \
|
||||
output=Translation.m $(MFILES); \
|
||||
echo -e " dummy_not_used = 0 //just for the ending" >> ../blackbox-nls.hh; \
|
||||
echo -e "}; //end enum\n" >> ../blackbox-nls.hh; \
|
||||
echo -e "}; //end namespace\n" >> ../blackbox-nls.hh; \
|
||||
echo -e "#endif //BLACKBOX_NLS_HH\n" >> ../blackbox-nls.hh; \
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
|
||||
if (major > 1)
|
||||
printf "\n" > output
|
||||
printf "$set %d %s\n", major, $3 > output
|
||||
printf "$set %d %s\n", major, $3 >> output
|
||||
|
||||
if (header) {
|
||||
majorName = substr($3, 2)
|
||||
if (major > 1)
|
||||
printf "\n" > header
|
||||
printf "#define %sSet %#x\n", majorName, major > header
|
||||
printf "\t%sSet = %#x,\n", majorName, major >> header
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
|||
|
||||
if (header) {
|
||||
minorName = substr($2, 2)
|
||||
printf "#define %s%s %#x\n", majorName, minorName, minor > header
|
||||
printf "\t%s%s = %#x,\n", majorName, minorName, minor >> header
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue