aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Yingxi Pan <patrick-yingxi-pan@users.noreply.github.com>2024-05-15 22:32:01 +0800
committerGitHub <noreply@github.com>2024-05-15 07:32:01 -0700
commit37eee46346f244050ef1e5a034cf930ee34a7acc (patch)
treeb3d0e675f502fcf6164abd7f3d39b0796d4cceb5
parenta50bc1fea61536511032a34c93357aa34d27c46f (diff)
downloadriscv-opcodes-37eee46346f244050ef1e5a034cf930ee34a7acc.zip
riscv-opcodes-37eee46346f244050ef1e5a034cf930ee34a7acc.tar.gz
riscv-opcodes-37eee46346f244050ef1e5a034cf930ee34a7acc.tar.bz2
Fix typos in parse.py (#247)
Signed-off-by: Patrick Yingxi Pan <patrick-yingxi-pan@users.noreply.github.com>
-rwxr-xr-xparse.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/parse.py b/parse.py
index 48507d9..8a50caf 100755
--- a/parse.py
+++ b/parse.py
@@ -193,9 +193,9 @@ def create_inst_dict(file_filter, include_pseudo=False, include_pseudo_ops=[]):
instruction is not added twice to the overall dictionary.
In the second pass, this function parses only pseudo_ops. For each pseudo_op
- this function checks if the dependent extension and instruction, both, exit
- before parsing it. The pseudo op is only added to the overall dictionary is
- the dependent instruction is not present in the dictionary, else its
+ this function checks if the dependent extension and instruction, both, exist
+ before parsing it. The pseudo op is only added to the overall dictionary if
+ the dependent instruction is not present in the dictionary, else it is
skipped.