-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CWEB] Provide a comprehensive test for CTWILL.
The material comes from https://github.com/ascherer/cwebtest and was pre-processed with $ ctwill ham ham # (twice), producing ham.{aux,idx,ref,scn,tex} $ tex ham # producing ham.{dvi,log} $ ctwill-refsort < ham.ref > ham.sref plus for "proofing" $ ctwill-proofsort ham.tex > ham-sorted.tex Note that the fonal step is not active in ctwill.test. git-svn-id: svn://tug.org/texlive/trunk/Build/source@67417 c570f23f-e606-0410-a88d-b1316a301751
- Loading branch information
Andreas Scherer
committed
Jun 20, 2023
1 parent
d772006
commit 9346d22
Showing
16 changed files
with
1,344 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
@$util {GB\_\,GRAPH}8 =\&{union}@> | ||
@$V {GB\_\,GRAPH}8 \&{Vertex} ${}{*}{}$@> | ||
@$A {GB\_\,GRAPH}8 \&{Arc} ${}{*}{}$@> | ||
@$G {GB\_\,GRAPH}8 \&{Graph} ${}{*}{}$@> | ||
@$S {GB\_\,GRAPH}8 \&{char} ${}{*}{}$@> | ||
@$I {GB\_\,GRAPH}8 \&{long}@> | ||
|
||
@$Vertex {GB\_\,GRAPH}9 =\&{struct}@> | ||
@$arcs {GB\_\,GRAPH}9 \&{Arc} ${}{*}{}$@> | ||
@$name {GB\_\,GRAPH}9 \&{char} ${}{*}{}$@> | ||
@$u {GB\_\,GRAPH}9 \&{util}@> | ||
@$v {GB\_\,GRAPH}9 \&{util}@> | ||
@$w {GB\_\,GRAPH}9 \&{util}@> | ||
@$x {GB\_\,GRAPH}9 \&{util}@> | ||
@$y {GB\_\,GRAPH}9 \&{util}@> | ||
@$z {GB\_\,GRAPH}9 \&{util}@> | ||
|
||
@$Arc {GB\_\,GRAPH}10 =\&{struct}@> | ||
@$tip {GB\_\,GRAPH}10 \&{Vertex} ${}{*}{}$@> | ||
@$next {GB\_\,GRAPH}10 \&{Arc} ${}{*}{}$@> | ||
@$len {GB\_\,GRAPH}10 \&{long}@> | ||
@$a {GB\_\,GRAPH}10 \&{util}@> | ||
@$b {GB\_\,GRAPH}10 \&{util}@> | ||
|
||
@$gb_typed_alloc {GB\_\,GRAPH}11 =macro (\,)@> | ||
|
||
@$Graph {GB\_\,GRAPH}20 =\&{struct}@> | ||
@$vertices {GB\_\,GRAPH}20 \&{Vertex} ${}{*}{}$@> | ||
@$n {GB\_\,GRAPH}20 \&{long}@> | ||
@$m {GB\_\,GRAPH}20 \&{long}@> | ||
@$uu {GB\_\,GRAPH}20 \&{util}@> | ||
@$vv {GB\_\,GRAPH}20 \&{util}@> | ||
@$ww {GB\_\,GRAPH}20 \&{util}@> | ||
@$xx {GB\_\,GRAPH}20 \&{util}@> | ||
@$yy {GB\_\,GRAPH}20 \&{util}@> | ||
@$zz {GB\_\,GRAPH}20 \&{util}@> | ||
|
||
@$n_1 {GB\_\,GRAPH}22 =\\{uu}.\|I@> | ||
|
||
@$arcs_per_block {GB\_\,GRAPH}29 =\T{102}@> | ||
|
||
@$gb_new_graph {GB\_\,GRAPH}31 =macro@> | ||
@$gb_new_arc {GB\_\,GRAPH}31 =macro@> | ||
@$gb_new_edge {GB\_\,GRAPH}31 =macro@> | ||
|
||
@$siz_t {GB\_\,GRAPH}34 =\&{unsigned} \&{long}@> | ||
|
||
@$string_block_size {GB\_\,GRAPH}35 =\T{1016}@> | ||
|
||
@$hash_link {GB\_\,GRAPH}43 =\|u.\|V@> | ||
@$hash_head {GB\_\,GRAPH}43 =\|v.\|V@> | ||
|
||
@$HASH_MULT {GB\_\,GRAPH}45 =\T{314159}@> | ||
@$HASH_PRIME {GB\_\,GRAPH}45 =\T{516595003}@> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@$MAX_SV_STRING {GB\_\,SAVE}1 =\T{4095}@> | ||
@$MAX_SV_ID {GB\_\,SAVE}1 =\T{154}@> | ||
|
||
@$restore_graph {GB\_\,SAVE}4 \&{Graph} ${}{*}(\,){}$@> | ||
|
||
@$panic {GB\_\,SAVE}5 =macro (\,)@> | ||
|
||
@$fillin {GB\_\,SAVE}7 =macro (\,)@> | ||
|
||
@$buffer {GB\_\,SAVE}13 =macro@> | ||
|
||
@$bad_type_code {GB\_\,SAVE}19 =\T{\^1}@> | ||
@$string_too_long {GB\_\,SAVE}19 =\T{\^2}@> | ||
@$addr_not_in_data_area {GB\_\,SAVE}19 =\T{\^4}@> | ||
@$addr_in_mixed_block {GB\_\,SAVE}19 =\T{\^8}@> | ||
@$bad_string_char {GB\_\,SAVE}19 =\T{\^10}@> | ||
@$ignored_data {GB\_\,SAVE}19 =\T{\^20}@> | ||
|
||
@$unk {GB\_\,SAVE}21 =\T{0}@> | ||
@$ark {GB\_\,SAVE}21 =\T{1}@> | ||
@$vrt {GB\_\,SAVE}21 =\T{2}@> | ||
@$mxt {GB\_\,SAVE}21 =\T{3}@> | ||
@$block_rep {GB\_\,SAVE}21 =\&{struct}@> | ||
|
||
@$lookup {GB\_\,SAVE}25 =macro (\,)@> | ||
|
||
@$append_comma {GB\_\,SAVE}37 =macro@> | ||
|
||
@$trans {GB\_\,SAVE}39 =macro (\,)@> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@q This file makes CWEAVE treat Graph, Arc, Vertex, etc. as reserved words. @> | ||
|
||
@s Graph int | ||
@s Arc int | ||
@s Vertex int | ||
@s Area int | ||
@s util int | ||
@s siz_t int |
Oops, something went wrong.