From aec62f3117a68c5c9193f9b4b84f9c4590592cd9 Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Fri, 26 Oct 2018 10:25:14 +0200 Subject: [PATCH] Edit SAIL files to be like the originals from ITS. Rename according to SAIL file C.LIB[C,SYS]. Fix E stuff and remove trailing ^C and ^@s. --- doc/c/{amops.txt => amops.text} | Bin 15741 -> 12498 bytes doc/c/{ccdoc.txt => ccdoc.text} | Bin 37744 -> 37258 bytes doc/c/{ccmake.hel => ccmake.help} | Bin 710 -> 706 bytes doc/c/{cdiffs.txt => cdiffs.text} | Bin 11335 -> 8963 bytes doc/c/{cmac.txt => cmac.text} | Bin 27677 -> 22625 bytes doc/c/{keymac.txt => keymac.text} | Bin 18242 -> 14678 bytes doc/c/{phase.arg => phase.args} | Bin 229 -> 226 bytes doc/c/{recipe.cma => recipe.cmac} | 1 - doc/c/{recipe.txt => recipe.text} | Bin 6940 -> 5969 bytes src/c/{c.gra => c.grammr} | 1 - src/c/c.stinkr | Bin 89 -> 88 bytes src/c/c1.c | 1 - src/c/c2.h | 1 - src/c/c21.c | 1 - src/c/c22.c | 1 - src/c/c23.c | 1 - src/c/c24.c | 1 - src/c/c3.h | 1 - src/c/c31.c | 1 - src/c/c32.c | 1 - src/c/c33.c | 1 - src/c/c34.c | 1 - src/c/c4220.mid | Bin 13955 -> 13954 bytes src/c/c8.c | 1 - src/c/c91.c | 1 - src/c/c94.c | 1 - src/c/c95.c | 1 - src/c/{cmac.ins => cmac.insert} | 1 - src/c/cnlen.h | 1 - src/c/{expr2.gra => expr2.grammr} | 1 - src/c/{instll.tec => instll.teco} | 1 - src/c/lp.stinkr | Bin 102 -> 100 bytes src/c/m.stinkr | Bin 104 -> 101 bytes src/c/tcc.c | 1 - src/c/{testc.sti => testc.stinkr} | Bin 32 -> 30 bytes src/c/{yginst.tec => yginst.teco} | Bin 301 -> 297 bytes src/c/{yinstl.tec => yinstl.teco} | Bin 315 -> 313 bytes src/c/yparse.c | 1 - 38 files changed, 23 deletions(-) rename doc/c/{amops.txt => amops.text} (76%) rename doc/c/{ccdoc.txt => ccdoc.text} (98%) rename doc/c/{ccmake.hel => ccmake.help} (99%) rename doc/c/{cdiffs.txt => cdiffs.text} (76%) rename doc/c/{cmac.txt => cmac.text} (79%) rename doc/c/{keymac.txt => keymac.text} (79%) rename doc/c/{phase.arg => phase.args} (98%) rename doc/c/{recipe.cma => recipe.cmac} (99%) rename doc/c/{recipe.txt => recipe.text} (85%) rename src/c/{c.gra => c.grammr} (99%) rename src/c/{cmac.ins => cmac.insert} (99%) rename src/c/{expr2.gra => expr2.grammr} (99%) rename src/c/{instll.tec => instll.teco} (99%) rename src/c/{testc.sti => testc.stinkr} (93%) rename src/c/{yginst.tec => yginst.teco} (98%) rename src/c/{yinstl.tec => yinstl.teco} (99%) diff --git a/doc/c/amops.txt b/doc/c/amops.text similarity index 76% rename from doc/c/amops.txt rename to doc/c/amops.text index ebd3fdf49a9f8fb1daafc6cde4d9e7cc5ae2f858..189fd1d1204ec9a0fe11167458da7db90e325006 100644 GIT binary patch delta 81 zcmexcbt#ciVX`2n*klDxwu$-Do7XW-;h5YgtG&69r-BW{m@LJpH2IvY`(`Tq-U delta 2933 zcmcbV__r#^+27aK)h|RrOhG{*%+bfwMZo|F%oPG0-CcvZoE3sxofW_wpuCG~uyc@S zK!~TmAD1&onITxQA%tTD<`{8KWR#gGBf|?;UuQmBQhZ0285-e&067>O# z7#f2`Od;x=#UbhpEx@8?5Ybd6h^P_79&?B&zqXP-$R;B*1y?^8UvDmFF>5Xce1He& zzKt>)IO_2!qJ!K(+s_8^VIOA3+>d5^zg5xUCe(d;(4fk}Mw1Sa;01rnRrF*R{dj!@U0xL;{AKR*}OW?pG0uFVnZo0tGZU=8a4 delta 2172 zcmZp6J020_?CKCFQrl6n@=IG<;qF?|7rV0U$?ykXH&I&=U&I(`-P~OEg*g42E zAjH$(kINaP%n+>D5W+D6bBs7AGRjSqli&p_Fb9hnb57pL?E@Augs3v%oGc&)6@jQR z1*y@RT%({=57KF9so?78;_J=jEN0EcKv$4P7u$G%!L(6s7I!^eY{PAdFczuFfePB2 zA9L$)4YcD%?Z*;3bP(bJW_A$REG}j>nh59+;P|W<=uE(i;<(L$3Y(Y)+DW7Kqr?f_ JIgS+D2mmIHHctQm diff --git a/doc/c/cmac.txt b/doc/c/cmac.text similarity index 79% rename from doc/c/cmac.txt rename to doc/c/cmac.text index eb37ef94a2fb38a01737c83d14f447dc2589c615..6728624fbac39f3a222994a2183e598b0e4dee88 100644 GIT binary patch delta 137 zcmbPxgYn@8#>o>{l_u9S3NBV-1%)t2A5Rwr0|Ns?1BC!bch_JpXN4eFX9X|^DDUDL z>>T775aQ|Y$K?!EW?%?XY+wlC7=t-RoD&O`Cg*bt@`6=ZfCY^?CmSegO^)MM0*e|# zl$vl(PE?edT%{v0IaCZP15s}ZQtty+YXnhi22*PU5rwEThnRcV6r$VM2yB}LOs&A= zueMMbGq8*$=i~-Ah`AIg43yG0+v%)73Ui%Ldwh zO-v_Y7vX^2qJSB3+fj7ROql|1PqZb7Csi1xW- OkOJFCk3}KOPy_&;t8wuF diff --git a/doc/c/keymac.txt b/doc/c/keymac.text similarity index 79% rename from doc/c/keymac.txt rename to doc/c/keymac.text index 16cc5d5c6234b541ec87c64bc4b6965c8569488b..596822c5df34cffbeb5cd12e37d49596bb48cb48 100644 GIT binary patch delta 55 zcmX@q$9S!XQDNdlrOh*${JAzC;5)*_$TM-G)@EbrO3uvz>N`0h+@r>epb~rzr&$3x Cxf7QF delta 3427 zcmcasbf}Lp$l2f5*VQjXK}W zXF!OjzaN(~NSPs6u_1(G1m+lVPEIsdmhn!lEYB}WQSePnF3K;4C@=>rFa{~m5;RiK z1&bO&w3$FejbWk?wWbhJ6R4;WM6DS_)D$KPQELto)vE`&%h*7{)z8J(o6A|unu~$1 zz?+J;O-?XY*{JN#RZm4T$uVlA+aFC%pb@DD7{}V1=W@*)jbtJNj8@9np$3B^BvG`I zbEK#GQUB8_sS#(cCUMGus=!H>RlaXD$r2r8v{5+Hvy2$_Up1M;LoZRD T&56ceSx0&z&8Amy1ML9-(#}ys diff --git a/doc/c/phase.arg b/doc/c/phase.args similarity index 98% rename from doc/c/phase.arg rename to doc/c/phase.args index d0746b823c4f41c2abcf267c8fa400b1ba331c2e..fdd72d307513a533fc64d5f70171eface90ce7ae 100644 GIT binary patch delta 6 NcmaFL_=s`BBLE8a13Ul# delta 10 RcmaFF_>^(NBW4B$1^^fA13v%& diff --git a/doc/c/recipe.cma b/doc/c/recipe.cmac similarity index 99% rename from doc/c/recipe.cma rename to doc/c/recipe.cmac index 5ed559e7..ea4ed644 100644 --- a/doc/c/recipe.cma +++ b/doc/c/recipe.cmac @@ -94,4 +94,3 @@ the UUO handler, however (in uuoh.midas). try out the TESTC program. If that works, compile and test the compiler, itself. .end_list - \ No newline at end of file diff --git a/doc/c/recipe.txt b/doc/c/recipe.text similarity index 85% rename from doc/c/recipe.txt rename to doc/c/recipe.text index 1222fa0e39c82eb6dcaedabee33b2d9a81a88a73..436307f6effd21ddf8d3fcac39eefe57b4b6fccd 100644 GIT binary patch delta 28 kcmbPZc2RHQ0*Q%PYMXa3xpOn}OkAikaRbZdFMNx+0i*5<1^@s6 delta 918 zcmcbpH^(f<+27aK)h|RrOhG{*%+bfwMZo|Fj1>YL-CcvZoE3sxofW_wpuCG~uyc@S zK!~TmAD1&onITxQA%tTD<`{8Kp2#gRQ9_Lutil{(97s@h@&az|$?Le;>OnGwMhdQe zF23Ge&SKVF40HwcbhQoBvVpeW2-8UfM0h}Px=|vRd!U`}N5G+^NrSuvPL-S2aW5Wl Jzp+6a4*>ljDeeFO diff --git a/src/c/c.gra b/src/c/c.grammr similarity index 99% rename from src/c/c.gra rename to src/c/c.grammr index a67ea65e..0673245d 100644 --- a/src/c/c.gra +++ b/src/c/c.grammr @@ -394,4 +394,3 @@ c_term: | integer | '(' constant ')' {val=#2;} - \ No newline at end of file diff --git a/src/c/c.stinkr b/src/c/c.stinkr index 1afb09b467e6ecbcd65d5e4ac0eabfc75d8a912d..ee586bc6cf16bc157fe3fb7cb102fbeed50217d5 100644 GIT binary patch delta 4 Lcma!ym=FN~1Ly&o delta 6 Ncma!uoDjjt000La0h<5- diff --git a/src/c/c1.c b/src/c/c1.c index b3f66470..1abc63e9 100644 --- a/src/c/c1.c +++ b/src/c/c1.c @@ -1422,4 +1422,3 @@ wcstore () **********************************************************************/ errlex (errno, a1, a2, a3, a4) {error (errno, lexline, a1, a2, a3, a4);} - \ No newline at end of file diff --git a/src/c/c2.h b/src/c/c2.h index 4080f55b..e88b14e7 100644 --- a/src/c/c2.h +++ b/src/c/c2.h @@ -46,4 +46,3 @@ extern type TUNDEF; extern type TPCHAR; extern type TACHAR; extern type TFINT; - \ No newline at end of file diff --git a/src/c/c21.c b/src/c/c21.c index 582840b7..52976958 100644 --- a/src/c/c21.c +++ b/src/c/c21.c @@ -329,4 +329,3 @@ stkunf (line) {error (6033, line);} tkbovf (line) {error (6008, line);} badtwp (line) {error (6032, line);} badtok (line, i) {error (6000, line, i);} - \ No newline at end of file diff --git a/src/c/c22.c b/src/c/c22.c index 5bf25f8a..5c2c08a9 100644 --- a/src/c/c22.c +++ b/src/c/c22.c @@ -305,4 +305,3 @@ aentry (idn, stmt) {return (stmt);} /* not implemented */ - \ No newline at end of file diff --git a/src/c/c23.c b/src/c/c23.c index c52614f8..69dda259 100644 --- a/src/c/c23.c +++ b/src/c/c23.c @@ -1144,4 +1144,3 @@ fixstr (t) type t; **********************************************************************/ errcidn (errno) {errx (errno, TIDN, cidn);} - \ No newline at end of file diff --git a/src/c/c24.c b/src/c/c24.c index f1b1a20b..a1e78bc5 100644 --- a/src/c/c24.c +++ b/src/c/c24.c @@ -909,4 +909,3 @@ int pa[] { 2429, 2432, 2441, 2442, 2443, 2444, 703, 2447, -1}; - \ No newline at end of file diff --git a/src/c/c3.h b/src/c/c3.h index e1e5917a..33d84a04 100644 --- a/src/c/c3.h +++ b/src/c/c3.h @@ -99,4 +99,3 @@ extern type TUNDEF; extern type TPCHAR; extern type TACHAR; extern type TFINT; - \ No newline at end of file diff --git a/src/c/c31.c b/src/c/c31.c index 230a1fd2..55cdb001 100644 --- a/src/c/c31.c +++ b/src/c/c31.c @@ -460,4 +460,3 @@ cgswitch (np, lp, l1) int *np, *lp, l1; expr (ep, xp) enode *ep; {return (ttexpr (opt (ep), xp));} - \ No newline at end of file diff --git a/src/c/c32.c b/src/c/c32.c index 84a72f2d..bb9e4142 100644 --- a/src/c/c32.c +++ b/src/c/c32.c @@ -998,4 +998,3 @@ enode *opt (ep) enode *ep; return (ep); yes: return (intcon (v)); } - \ No newline at end of file diff --git a/src/c/c33.c b/src/c/c33.c index c817683b..a6027926 100644 --- a/src/c/c33.c +++ b/src/c/c33.c @@ -1332,4 +1332,3 @@ int unmark (ep) enode *ep; } return (0); } - \ No newline at end of file diff --git a/src/c/c34.c b/src/c/c34.c index d055d130..6e4fd4a3 100644 --- a/src/c/c34.c +++ b/src/c/c34.c @@ -534,4 +534,3 @@ prelist (np) } # endif - \ No newline at end of file diff --git a/src/c/c4220.mid b/src/c/c4220.mid index 410e46c73c9836482bc137dcb1f36732ea77efc4..b5bb4c50b64653f1ed56ea5d5eb0514eb1d8742f 100644 GIT binary patch delta 12 TcmZq9ZOYx?%(U5s$=(D2AaDdh delta 14 VcmZq5ZO+}`%*4pB*_p}S1OO%*1VI1* diff --git a/src/c/c8.c b/src/c/c8.c index 0d7e506c..b41859c8 100644 --- a/src/c/c8.c +++ b/src/c/c8.c @@ -342,4 +342,3 @@ errx (n) char *fn_error; int f_error; cleanup () {cexit (0);} - \ No newline at end of file diff --git a/src/c/c91.c b/src/c/c91.c index f9867edb..83a7a033 100644 --- a/src/c/c91.c +++ b/src/c/c91.c @@ -475,4 +475,3 @@ pridn (i, f) {;} # endif - \ No newline at end of file diff --git a/src/c/c94.c b/src/c/c94.c index 0068ef26..6f30843b 100644 --- a/src/c/c94.c +++ b/src/c/c94.c @@ -43,4 +43,3 @@ int atoi (s) char s[]; return (sign*i); } - \ No newline at end of file diff --git a/src/c/c95.c b/src/c/c95.c index 03687751..025cdb62 100644 --- a/src/c/c95.c +++ b/src/c/c95.c @@ -68,4 +68,3 @@ int xopen (file, mode, opt) return (i); } - \ No newline at end of file diff --git a/src/c/cmac.ins b/src/c/cmac.insert similarity index 99% rename from src/c/cmac.ins rename to src/c/cmac.insert index 28061006..514db746 100644 --- a/src/c/cmac.ins +++ b/src/c/cmac.insert @@ -411,4 +411,3 @@ DEFINE TSWITCH LO,HI,DEFLT ; TABLE SWITCH DEFINE ETSWIT LO,HI,DEFLT TERMIN - \ No newline at end of file diff --git a/src/c/cnlen.h b/src/c/cnlen.h index 3969d3d5..73087c8f 100644 --- a/src/c/cnlen.h +++ b/src/c/cnlen.h @@ -8,4 +8,3 @@ 1,1,1,1,1,1,1,1,1,1, 5,3,2,3,3,5,4,3,3,6, 3,3,1,1 - \ No newline at end of file diff --git a/src/c/expr2.gra b/src/c/expr2.grammr similarity index 99% rename from src/c/expr2.gra rename to src/c/expr2.grammr index a33a5283..bf25b80a 100644 --- a/src/c/expr2.gra +++ b/src/c/expr2.grammr @@ -15,4 +15,3 @@ e: e '+' e {val = #1 + #3;} p: '-' p {val = - #2;} | '(' e ')' {val = #2;} | int - \ No newline at end of file diff --git a/src/c/instll.tec b/src/c/instll.teco similarity index 99% rename from src/c/instll.tec rename to src/c/instll.teco index 6f208223..2dddf3e7 100644 --- a/src/c/instll.tec +++ b/src/c/instll.teco @@ -50,4 +50,3 @@ ji/* eipwef c26 c ]6 ]5 ]4 ]3 - \ No newline at end of file diff --git a/src/c/lp.stinkr b/src/c/lp.stinkr index 6bf1b724633eef4d083450625667081a0f89cac5..8a8a46319f8bf5ca7dbc9fcf662b6b4f45be31ac 100644 GIT binary patch delta 4 LcmYdGnUDei1WW|c*zyJUQ=K${j diff --git a/src/c/yginst.tec b/src/c/yginst.teco similarity index 98% rename from src/c/yginst.tec rename to src/c/yginst.teco index 41f2ce25f7a3336ae3759bae8a3567d775438f66..2f40e550092e5eaad3c97fdd96fefb445ab34595 100644 GIT binary patch delta 7 OcmZ3>w32CqCL;g}h5|JJ delta 12 ScmZ3