Rules: Keep a persistent context for token rules
This will be needed to build a clean indentation checking algorithm.
This commit is contained in:
@@ -37,7 +37,7 @@ TYPE = 'token'
|
||||
# # commented line 2
|
||||
# current: line
|
||||
|
||||
def check(conf, token, prev, next):
|
||||
def check(conf, token, prev, next, context):
|
||||
if prev is None:
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user