Update dependencies and remove obsolete VAXC support
[p5sagit/p5-mst-13.2.git] / keywords.pl
CommitLineData
a0d0e21e 1#!/usr/bin/perl
2
36477c24 3unlink "keywords.h";
a0d0e21e 4open(KW, ">keywords.h") || die "Can't create keywords.h: $!\n";
5select KW;
6
7# Read & print data.
8
9$keynum = 0;
10while (<DATA>) {
11 chop;
12 next unless $_;
13 next if /^#/;
14 ($keyword) = split;
15 print &tab(5, "#define KEY_$keyword"), $keynum++, "\n";
16}
17
18###########################################################################
19sub tab {
20 local($l, $t) = @_;
21 $t .= "\t" x ($l - (length($t) + 1) / 8);
22 $t;
23}
24###########################################################################
25__END__
26
27NULL
a0d0e21e 28__FILE__
68dc0745 29__LINE__
30__PACKAGE__
e50aee73 31__DATA__
a0d0e21e 32__END__
33AUTOLOAD
34BEGIN
35CORE
36DESTROY
37END
38EQ
39GE
40GT
7d07dbc2 41INIT
a0d0e21e 42LE
43LT
44NE
cb50131a 45CHECK
a0d0e21e 46abs
47accept
48alarm
49and
50atan2
51bind
52binmode
53bless
54caller
55chdir
56chmod
57chomp
58chop
59chown
60chr
61chroot
62close
63closedir
64cmp
65connect
66continue
67cos
68crypt
69dbmclose
70dbmopen
71defined
72delete
73die
74do
75dump
76each
77else
78elsif
79endgrent
80endhostent
81endnetent
82endprotoent
83endpwent
84endservent
85eof
86eq
87eval
88exec
89exists
90exit
91exp
92fcntl
93fileno
94flock
95for
96foreach
97fork
98format
99formline
100ge
101getc
102getgrent
103getgrgid
104getgrnam
105gethostbyaddr
106gethostbyname
107gethostent
108getlogin
109getnetbyaddr
110getnetbyname
111getnetent
112getpeername
113getpgrp
114getppid
115getpriority
116getprotobyname
117getprotobynumber
118getprotoent
119getpwent
120getpwnam
121getpwuid
122getservbyname
123getservbyport
124getservent
125getsockname
126getsockopt
127glob
128gmtime
129goto
130grep
131gt
132hex
133if
134index
135int
136ioctl
137join
138keys
139kill
140last
141lc
142lcfirst
143le
144length
145link
146listen
147local
148localtime
c0329465 149lock
a0d0e21e 150log
151lstat
152lt
153m
154map
155mkdir
156msgctl
157msgget
158msgrcv
159msgsnd
160my
161ne
162next
163no
164not
165oct
166open
167opendir
168or
169ord
c529f79d 170our
a0d0e21e 171pack
172package
173pipe
174pop
175pos
176print
177printf
c07a80fd 178prototype
a0d0e21e 179push
180q
181qq
8782bef2 182qr
a0d0e21e 183quotemeta
184qw
185qx
186rand
187read
188readdir
189readline
190readlink
191readpipe
192recv
193redo
194ref
195rename
196require
197reset
198return
199reverse
200rewinddir
201rindex
202rmdir
203s
204scalar
205seek
206seekdir
207select
208semctl
209semget
210semop
211send
212setgrent
213sethostent
214setnetent
215setpgrp
216setpriority
217setprotoent
218setpwent
219setservent
220setsockopt
221shift
222shmctl
223shmget
224shmread
225shmwrite
226shutdown
227sin
228sleep
229socket
230socketpair
231sort
232splice
233split
234sprintf
235sqrt
236srand
237stat
238study
239sub
240substr
241symlink
242syscall
c07a80fd 243sysopen
a0d0e21e 244sysread
137443ea 245sysseek
a0d0e21e 246system
247syswrite
248tell
249telldir
250tie
c07a80fd 251tied
a0d0e21e 252time
253times
254tr
255truncate
256uc
257ucfirst
258umask
259undef
260unless
261unlink
262unpack
263unshift
264untie
265until
266use
267utime
268values
269vec
270wait
271waitpid
272wantarray
273warn
274while
275write
276x
277xor
278y