* src/closure.c (print_firsts): Display of the symbol tags.

(bitmatrix_print): Move to...
* lib/bitsetv-print.h, lib/bitsetv-print.c (bitsetv_matrix_dump):
here.
* tests/sets.at (Nullable, Broken Closure, Firsts): Adjust.
This commit is contained in:
Akim Demaille
2002-05-06 08:42:24 +00:00
parent 5181e40827
commit 1565b72064
6 changed files with 128 additions and 61 deletions

View File

@@ -92,10 +92,10 @@ NULLABLE
e: yes
FIRSTS
$axiom firsts
4 ($axiom)
5 (e)
$axiom
e
e firsts
5 (e)
e
FDERIVES
$axiom derives
0: e $
@@ -164,8 +164,8 @@ h: 'h';
AT_CHECK([[bison --trace input.y]], [], [], [stderr])
AT_CHECK([[sed -n 's/[ ]*$//;/^RTC: Output BEGIN/,/^RTC: Output END/p' stderr]], [],
[[RTC: Output BEGIN
AT_CHECK([[sed -n 's/[ ]*$//;/^RTC: Firsts Output BEGIN/,/^RTC: Firsts Output END/p' stderr]], [],
[[RTC: Firsts Output BEGIN
012345678
.---------.
@@ -179,7 +179,7 @@ AT_CHECK([[sed -n 's/[ ]*$//;/^RTC: Output BEGIN/,/^RTC: Output END/p' stderr]]
7| 11|
8| 1|
`---------'
RTC: Output END
RTC: Firsts Output END
]])
AT_CLEANUP
@@ -227,10 +227,10 @@ NULLABLE
exp: no
FIRSTS
$axiom firsts
10 ($axiom)
11 (exp)
$axiom
exp
exp firsts
11 (exp)
exp
FDERIVES
$axiom derives
0: exp $