diff --git a/mode/forth.py b/mode/forth.py index 93483e6..d427cf0 100644 --- a/mode/forth.py +++ b/mode/forth.py @@ -88,8 +88,8 @@ br = RegionRule(r'banner', r'^Gforth \d+\.\d+\.\d+', LineGrammar, r"^Type `bye' ForthPipeGrammar.rules.insert(0, br) class ForthPipe(Pipe): - modename = 'forthpipe' - grammar = ForthPipeGrammar + name = 'forthpipe' + grammar = ForthPipeGrammar dopen = {} for s in ['if', 'case', 'of', '?dup-if', '?dup-0=-if', 'begin', 'while',