summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bc8d57a)
Work on file usr/src/usr.bin/lint/:yyfix
Work on file usr/src/lib/old_compiler/lint/:yyfix
Synthesized-from: CSRG/cd2/4.3tahoe
--- /dev/null
+>rodata.c
+for i in $*
+do ed - y.tab.c <<!
+/^\(.*\)$i[ ]*\[]/s//extern \1 $i[];\\
+\1 $i []/
+-ka
+/}/kb
+'ar rodata.c
+'a+,'bw rodata.c
+'a+,'bd
+w
+q
+!
+done
--- /dev/null
+>rodata.c
+for i in $*
+do ed - y.tab.c <<!
+/^\(.*\)$i[ ]*\[]/s//extern \1 $i[];\\
+\1 $i []/
+-ka
+/}/kb
+'ar rodata.c
+'a+,'bw rodata.c
+'a+,'bd
+w
+q
+!
+done