Skip to content

Commit 8381f10

Browse files
author
Claudiu Popa
committed
Remove extra lines and comments.
1 parent 0c8b090 commit 8381f10

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

wispy/grammar.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ def ignore_case_literals(*args):
4343
return list(map(RE_LITERAL, args))
4444

4545

46-
# Grammars without dependencies
4746
class EscapedCharacter(Grammar):
48-
4947
"""An escaped character is a way to assign a special interpretation
5048
to a character by giving it a prefix Backtick character."""
5149

@@ -105,7 +103,6 @@ class DashDash(Grammar):
105103
grammar = (Dash, Dash)
106104

107105

108-
# Grammar for Operators and punctuators
109106
class FormatOperator(Grammar):
110107
grammar = (Dash, "f")
111108

@@ -572,7 +569,6 @@ class VerbatimCommandArgumentChars(Grammar):
572569

573570

574571
class Keyword(Grammar):
575-
576572
grammar = OR(*ignore_case_literals(
577573
"workflow", "inlinescript", "parallel", "begin", "break", "catch",
578574
"class", "continue", "data", "define", "do", "dynamicparam", "elseif",
@@ -623,7 +619,6 @@ class ExpandableStringLiteralWithSubexpr(Grammar):
623619

624620

625621
class StringLiteralWithSubexpression(Grammar):
626-
# grammar is added.
627622
grammar = OR(
628623
ExpandableStringLiteralWithSubexpr,
629624
ExpandableHereStringLiteralWithSubexpr

0 commit comments

Comments
 (0)