diff options
| author | Christopher Davis <loafier@gmail.com> | 2006-07-03 06:00:18 +0000 |
|---|---|---|
| committer | Christopher Davis <loafier@gmail.com> | 2006-07-03 06:00:18 +0000 |
| commit | 34cdeaae9369af5dce3ce3a4a7756c033bc44cc5 (patch) | |
| tree | e6d1c6e41fa734e0ac40ef5f3c68aff689631017 /constants.awk | |
| parent | a329fa4675852886ba2bbc9637cebcac882f1575 (diff) | |
| download | irssi-python-34cdeaae9369af5dce3ce3a4a7756c033bc44cc5.tar.gz irssi-python-34cdeaae9369af5dce3ce3a4a7756c033bc44cc5.tar.xz irssi-python-34cdeaae9369af5dce3ce3a4a7756c033bc44cc5.zip | |
worked on formats. working on themes now; testing adding functions and methods to objects
git-svn-id: http://svn.irssi.org/repos/irssi-python@4295 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'constants.awk')
| -rw-r--r-- | constants.awk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/constants.awk b/constants.awk index c9395c1..18f8002 100644 --- a/constants.awk +++ b/constants.awk @@ -3,7 +3,12 @@ BEGIN { } { - printf(" {\"%s\", %25s},\n", $1,$1); + if (NF >= 2) + constant = $2; + else + constant = $1; + + printf(" {\"%s\", %25s},\n", $1, constant); } END { |
