From 31e0b4c0166e52472977e5641cc5674e2cd02fb2 Mon Sep 17 00:00:00 2001 From: xatier Date: Fri, 21 Feb 2020 23:02:51 -0800 Subject: [PATCH] Fix typo 'Calculate' --- Parser/pgen/automata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser/pgen/automata.py b/Parser/pgen/automata.py index d04ca7c6e80b56..f2ed221e2852c9 100644 --- a/Parser/pgen/automata.py +++ b/Parser/pgen/automata.py @@ -236,7 +236,7 @@ def add_closure(nfa_state, base_nfa_set): 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)