view admin/charsets/kuten.awk @ 109400:c232035b5f44

(delphi-token-at): Give newlines precedence over literal tokens when parsing so newlines aren't "absorbed" by single-line comments. Corrects the indentation of case blocks that have a comment on the first line.
author Simon South <ssouth@member.fsf.org>
date Wed, 14 Jul 2010 22:34:47 -0400
parents e0e4e6a0599f
children ef719132ddfa
line wrap: on
line source

/^[0-9]/ {
  ku=substr($1, 3, 2) + 32;
  ten=substr($1, 5, 2) + 32;
  printf "0x%02X%02X %s\n", ku, ten, $2;
}

# arch-tag: dade6b45-b4c5-42ab-9d49-d6bf23a710b6