Initial revision
This commit is contained in:
17
lang/basic/src/maketokentab
Executable file
17
lang/basic/src/maketokentab
Executable file
@@ -0,0 +1,17 @@
|
||||
cp Lpars.h tokentab.h
|
||||
ex tokentab.h 2>&1 > /dev/null <<+
|
||||
1d
|
||||
1,\$s/# define //
|
||||
1,\$s/ ...$//
|
||||
1,\$s/^/ "/
|
||||
1,\$-1s/\$/",/
|
||||
\$s/\$/"/
|
||||
0a
|
||||
char *tokentab[] = {
|
||||
.
|
||||
\$a
|
||||
};
|
||||
.
|
||||
w
|
||||
q
|
||||
+
|
||||
Reference in New Issue
Block a user