-
Notifications
You must be signed in to change notification settings - Fork 0
/
output2.txt
98 lines (98 loc) · 2.5 KB
/
output2.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<keyword , #include>
error in line: 3, 宏定义文件名称格式有误
error in line: 3, 识别出了错误字符
error in line: 3, 识别出了错误字符
error in line: 3, 识别出了错误字符
error in line: 3, 识别出了错误字符
error in line: 3, 识别出了错误字符
error in line: 3, 识别出了错误字符
<separator , 换行符>
<keyword , #include>
<file , "hello.h">
<separator , 换行符>
<keyword , #include>
<file , <stdio.h>>
<separator , 换行符>
<separator , 换行符>
<number , 1>
<identifier , a>
<separator , 换行符>
<identifier , a1>
<separator , 换行符>
<identifier , _b2>
error in line: 10, 识别出了错误字符
<separator , 换行符>
<separator , 换行符>
<number , 0>
<separator , 换行符>
error in line: 14, digits.需要更多digit
<identifier , m>
<separator , 换行符>
error in line: 15, digits.需要更多digit
<separator , 换行符>
error in line: 16, digits e/E || digits.digits. e/E后需要digit | + | -
<separator , 换行符>
<number , 3e-5>
<separator , 换行符>
<number , 3.14E+10>
<separator , 换行符>
error in line: 19, digits e/E || digits.digits. e/E后需要digit | + | -
<separator , 换行符>
<separator , 换行符>
<keyword , char>
<identifier , c>
<operator , =>
error in line: 22, 读取到了错误的字符
<separator , ;>
<separator , 换行符>
<keyword , char>
<identifier , d>
<operator , =>
error in line: 24, 读取到了错误的字符
error in line: 24, 读取到了错误的字符
<separator , 换行符>
<keyword , char>
<identifier , e>
<operator , =>
<character , 'o'>
<separator , ;>
<separator , 换行符>
<keyword , char>
<identifier , f>
<operator , =>
error in line: 26, 读取到了错误的转义字符
error in line: 26, 读取到了错误的字符
<separator , ;>
<separator , 换行符>
<keyword , char>
<identifier , g>
<operator , =>
<character , '\t'>
<separator , ;>
<separator , 换行符>
<separator , 换行符>
<keyword , char>
<operator , *>
<identifier , s>
<operator , =>
<string , "你好">
<separator , ;>
<separator , 换行符>
<keyword , char>
<operator , *>
<identifier , s2>
<operator , =>
error in line: 31, 字符串需要匹配双引号
/*********************************/
The number of the line: 31
The number of the identifier: 11
The number of the keyword: 10
The number of the number: 4
The number of the operator: 9
The number of the character: 2
The number of the string: 1
The number of the file: 2
The number of the separator: 28
The number of the error: 18
The total number: 85
/*********************************/