From: Luke Kenneth Casson Leighton Date: Tue, 31 Mar 2020 13:04:52 +0000 (+0100) Subject: whitespace cleanup X-Git-Tag: div_pipeline~1590 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bf385eb89dc89591165c5ca023a0ae7ae277702;p=soc.git whitespace cleanup --- diff --git a/src/soc/decoder/power_pseudo.py b/src/soc/decoder/power_pseudo.py index 5e9c5179..66f21482 100644 --- a/src/soc/decoder/power_pseudo.py +++ b/src/soc/decoder/power_pseudo.py @@ -207,7 +207,7 @@ def indentation_filter(tokens): # At the same level pass elif depth > levels[-1]: - raise IndentationError("indentation increase but not in new block") + raise IndentationError("indent increase but not in new block") else: # Back up; but only if it matches a previous level try: @@ -516,7 +516,8 @@ class PowerParser: p[0] = p[2] - # varargslist: (fpdef ['=' test] ',')* ('*' NAME [',' '**' NAME] | '**' NAME) | + # varargslist: (fpdef ['=' test] ',')* ('*' NAME [',' '**' NAME] | + # '**' NAME) | # highly simplified def p_varargslist(self, p): """varargslist : varargslist COMMA NAME @@ -788,7 +789,8 @@ class PowerParser: - # arglist: (argument ',')* (argument [',']| '*' test [',' '**' test] | '**' test) + # arglist: (argument ',')* (argument [',']| '*' test [',' '**' test] + # | '**' test) # XXX INCOMPLETE: this doesn't allow the trailing comma def p_arglist(self, p): """arglist : arglist COMMA argument