Skip to content

Commit 37e98c3

Browse files
committed
修正输出格式
1 parent 14a0828 commit 37e98c3

9 files changed

+760
-760
lines changed

output/First集合.tsv

+68-68
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,68 @@
1-
argFunctionR [,]
2-
<= [<=]
3-
decl [const, int]
4-
constInitVal [+, -, !, Ident, (, INT]
5-
constDef [Ident]
6-
compUnit [const, void, int]
7-
addExp [+, -, !, Ident, (, INT]
8-
unaryOp [+, -, !]
9-
program [const, void, int]
10-
addExpAtom [+, -]
11-
mulExpAtom [*, /, %]
12-
relExp [+, -, !, Ident, (, INT]
13-
argVarDecl [,]
14-
number [INT]
15-
eqExp [+, -, !, Ident, (, INT]
16-
funcFParams [int]
17-
block [{]
18-
mulExp [+, -, !, Ident, (, INT]
19-
argExp [+, -, !, Ident, (, INT]
20-
exp [+, -, !, Ident, (, INT]
21-
constExp [+, -, !, Ident, (, INT]
22-
== [==]
23-
! [!]
24-
void [void]
25-
assignExp [+, -, !, Ident, (, INT]
26-
% [%]
27-
lVal [Ident]
28-
( [(]
29-
) [)]
30-
* [*]
31-
assignExpAtom [=]
32-
+ [+]
33-
, [,]
34-
- [-]
35-
/ [/]
36-
bType [int]
37-
unaryExp [+, -, !, Ident, (, INT]
38-
varDef [Ident]
39-
primaryExp [(, INT]
40-
; [;]
41-
blockItem [const, ;, {, return, int, +, -, !, Ident, (, INT]
42-
< [<]
43-
!= [!=]
44-
= [=]
45-
> [>]
46-
>= [>=]
47-
funcDef [void]
48-
eqExpAtom [==, !=]
49-
const [const]
50-
funcRParam [+, -, !, Ident, (, INT]
51-
INT [INT]
52-
funcRParams [+, -, !, Ident, (, INT]
53-
initVal [+, -, !, Ident, (, INT]
54-
argConst [,]
55-
funcType [void]
56-
Ident [Ident]
57-
relExpAtom [<, >, <=, >=]
58-
constDecl [const]
59-
callFunc [(]
60-
int [int]
61-
argVarDef [=]
62-
funcFParam [int]
63-
{ [{]
64-
argFunctionF [,]
65-
} [}]
66-
varDecl [int]
67-
return [return]
68-
stmt [;, {, return, +, -, !, Ident, (, INT]
1+
argFunctionR [,]
2+
<= [<=]
3+
decl [const, int]
4+
constInitVal [+, -, !, Ident, (, INT]
5+
constDef [Ident]
6+
compUnit [const, void, int]
7+
addExp [+, -, !, Ident, (, INT]
8+
unaryOp [+, -, !]
9+
program [const, void, int]
10+
addExpAtom [+, -]
11+
mulExpAtom [*, /, %]
12+
relExp [+, -, !, Ident, (, INT]
13+
argVarDecl [,]
14+
number [INT]
15+
eqExp [+, -, !, Ident, (, INT]
16+
funcFParams [int]
17+
block [{]
18+
mulExp [+, -, !, Ident, (, INT]
19+
argExp [+, -, !, Ident, (, INT]
20+
exp [+, -, !, Ident, (, INT]
21+
constExp [+, -, !, Ident, (, INT]
22+
== [==]
23+
! [!]
24+
void [void]
25+
assignExp [+, -, !, Ident, (, INT]
26+
% [%]
27+
lVal [Ident]
28+
( [(]
29+
) [)]
30+
* [*]
31+
assignExpAtom [=]
32+
+ [+]
33+
, [,]
34+
- [-]
35+
/ [/]
36+
bType [int]
37+
unaryExp [+, -, !, Ident, (, INT]
38+
varDef [Ident]
39+
primaryExp [(, INT]
40+
; [;]
41+
blockItem [const, ;, {, return, int, +, -, !, Ident, (, INT]
42+
< [<]
43+
!= [!=]
44+
= [=]
45+
> [>]
46+
>= [>=]
47+
funcDef [void]
48+
eqExpAtom [==, !=]
49+
const [const]
50+
funcRParam [+, -, !, Ident, (, INT]
51+
INT [INT]
52+
funcRParams [+, -, !, Ident, (, INT]
53+
initVal [+, -, !, Ident, (, INT]
54+
argConst [,]
55+
funcType [void]
56+
Ident [Ident]
57+
relExpAtom [<, >, <=, >=]
58+
constDecl [const]
59+
callFunc [(]
60+
int [int]
61+
argVarDef [=]
62+
funcFParam [int]
63+
{ [{]
64+
argFunctionF [,]
65+
} [}]
66+
varDecl [int]
67+
return [return]
68+
stmt [;, {, return, +, -, !, Ident, (, INT]

output/Follow集合.tsv

+43-43
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
1-
argFunctionR [), #]
2-
eqExpAtom [=, ,, ;, ), #]
3-
decl [const, void, int, ;, {, return, +, -, !, Ident, (, INT, }, #]
4-
constInitVal [,, ;, #]
5-
constDef [,, ;, #]
6-
compUnit [#]
7-
funcRParam [,, ), #]
8-
addExp [<, >, <=, >=, ==, !=, =, ,, ;, ), #]
9-
unaryOp [+, -, !, Ident, (, INT, #]
10-
program [#]
11-
addExpAtom [<, >, <=, >=, ==, !=, =, ,, ;, ), #]
12-
mulExpAtom [+, -, <, >, <=, >=, ==, !=, =, ,, ;, ), #]
13-
relExp [==, !=, =, ,, ;, ), #]
14-
funcRParams [), #]
15-
argVarDecl [;, #]
16-
initVal [,, ;, #]
17-
number [*, /, %, +, -, <, >, <=, >=, ==, !=, =, ,, ;, ), #]
18-
argConst [;, #]
19-
eqExp [=, ,, ;, ), #]
20-
funcFParams [), #]
21-
block [const, void, int, ;, {, return, +, -, !, Ident, (, INT, }, #]
22-
mulExp [+, -, <, >, <=, >=, ==, !=, =, ,, ;, ), #]
23-
argExp [;, #]
24-
exp [,, ;, ), #]
25-
constExp [,, ;, #]
26-
funcType [Ident, #]
27-
assignExp [,, ;, ), #]
28-
relExpAtom [==, !=, =, ,, ;, ), #]
29-
lVal [#]
30-
constDecl [const, void, int, ;, {, return, +, -, !, Ident, (, INT, }, #]
31-
assignExpAtom [,, ;, ), #]
32-
callFunc [*, /, %, +, -, <, >, <=, >=, ==, !=, =, ,, ;, ), #]
33-
bType [Ident, #]
34-
unaryExp [*, /, %, +, -, <, >, <=, >=, ==, !=, =, ,, ;, ), #]
35-
argVarDef [,, ;, #]
36-
funcFParam [,, ), #]
37-
varDef [,, ;, #]
38-
primaryExp [*, /, %, +, -, <, >, <=, >=, ==, !=, =, ,, ;, ), #]
39-
blockItem [}, #]
40-
argFunctionF [), #]
41-
varDecl [const, void, int, ;, {, return, +, -, !, Ident, (, INT, }, #]
42-
stmt [const, ;, {, return, int, +, -, !, Ident, (, INT, }, #]
43-
funcDef [const, void, int, #]
1+
argFunctionR [), #]
2+
eqExpAtom [=, ,, ;, ), #]
3+
decl [const, void, int, ;, {, return, +, -, !, Ident, (, INT, }, #]
4+
constInitVal [,, ;, #]
5+
constDef [,, ;, #]
6+
compUnit [#]
7+
funcRParam [,, ), #]
8+
addExp [<, >, <=, >=, ==, !=, =, ,, ;, ), #]
9+
unaryOp [+, -, !, Ident, (, INT, #]
10+
program [#]
11+
addExpAtom [<, >, <=, >=, ==, !=, =, ,, ;, ), #]
12+
mulExpAtom [+, -, <, >, <=, >=, ==, !=, =, ,, ;, ), #]
13+
relExp [==, !=, =, ,, ;, ), #]
14+
funcRParams [), #]
15+
argVarDecl [;, #]
16+
initVal [,, ;, #]
17+
number [*, /, %, +, -, <, >, <=, >=, ==, !=, =, ,, ;, ), #]
18+
argConst [;, #]
19+
eqExp [=, ,, ;, ), #]
20+
funcFParams [), #]
21+
block [const, void, int, ;, {, return, +, -, !, Ident, (, INT, }, #]
22+
mulExp [+, -, <, >, <=, >=, ==, !=, =, ,, ;, ), #]
23+
argExp [;, #]
24+
exp [,, ;, ), #]
25+
constExp [,, ;, #]
26+
funcType [Ident, #]
27+
assignExp [,, ;, ), #]
28+
relExpAtom [==, !=, =, ,, ;, ), #]
29+
lVal [#]
30+
constDecl [const, void, int, ;, {, return, +, -, !, Ident, (, INT, }, #]
31+
assignExpAtom [,, ;, ), #]
32+
callFunc [*, /, %, +, -, <, >, <=, >=, ==, !=, =, ,, ;, ), #]
33+
bType [Ident, #]
34+
unaryExp [*, /, %, +, -, <, >, <=, >=, ==, !=, =, ,, ;, ), #]
35+
argVarDef [,, ;, #]
36+
funcFParam [,, ), #]
37+
varDef [,, ;, #]
38+
primaryExp [*, /, %, +, -, <, >, <=, >=, ==, !=, =, ,, ;, ), #]
39+
blockItem [}, #]
40+
argFunctionF [), #]
41+
varDecl [const, void, int, ;, {, return, +, -, !, Ident, (, INT, }, #]
42+
stmt [const, ;, {, return, int, +, -, !, Ident, (, INT, }, #]
43+
funcDef [const, void, int, #]

0 commit comments

Comments
 (0)