commit | d7a04a842599c4838a5fdf839842d414a302d7e2 | [log] [tgz] |
---|---|---|
author | xatier <xatierlike@gmail.com> | Sun Mar 08 19:58:24 2020 -0700 |
committer | GitHub <noreply@github.com> | Mon Mar 09 02:58:24 2020 +0000 |
tree | 7c7d5b51a21c2d4445cad29c57cb1ee33a1a7987 | |
parent | 0911ea5c172264eaefa3efe4a1788159c160920d [diff] [blame] |
Fix typo in the parser generator (GH-18603)
diff --git a/Parser/pgen/automata.py b/Parser/pgen/automata.py index d04ca7c..f2ed221 100644 --- a/Parser/pgen/automata.py +++ b/Parser/pgen/automata.py
@@ -236,7 +236,7 @@ if nfa_arc.label is None: add_closure(nfa_arc.target, base_nfa_set) - # Calculte the epsilon-closure of the starting state + # Calculate the epsilon-closure of the starting state base_nfa_set = set() add_closure(nfa.start, base_nfa_set)