Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
2
2022fall-Compiler_CMinus
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李晓奇
2022fall-Compiler_CMinus
Commits
ce137236
Commit
ce137236
authored
Sep 22, 2021
by
Kai Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[lab1] fix doc
parent
41d4a2b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Documentations/1-parser/README.md
Documentations/1-parser/README.md
+2
-2
No files found.
Documentations/1-parser/README.md
View file @
ce137236
...
...
@@ -171,7 +171,7 @@ int main(void) {
*
运行
```
sh
$
cd
202
0
fall-Compiler_CMinus
$
cd
202
1
fall-Compiler_CMinus
# 词法测试
$
./build/lexer ./tests/parser/normal/local-decl.cminus
Token Text Line Column
(
Start,End
)
...
...
@@ -193,7 +193,7 @@ int main(void) {
可以使用
`diff`
与标准输出进行比较。
```
sh
$
cd
202
0
fall-Compiler_CMinus
$
cd
202
1
fall-Compiler_CMinus
$
export
PATH
=
"
$(
realpath
./build
)
:
$PATH
"
$
cd
tests/parser
$
mkdir
output.easy
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment