Misc. typos
Found via `codespell`
This commit is contained in:
@@ -130,9 +130,9 @@ class Part21Parser:
|
||||
line = fp.readline()
|
||||
if not line:
|
||||
break
|
||||
# there may be a multline definition. In this case, we read lines until we found
|
||||
# there may be a multiline definition. In this case, we read lines until we found
|
||||
# a ;
|
||||
while (line.find(';') == -1): #its a multiline
|
||||
while (line.find(';') == -1): #it's a multiline
|
||||
line = line.replace("\n","").replace("\r","") + fp.readline()
|
||||
# parse line
|
||||
match_instance_definition = INSTANCE_DEFINITION_RE.search(line) # id,name,attrs
|
||||
|
||||
@@ -46,7 +46,7 @@ def process_nested_parent_str2(attr_str,idx=0):
|
||||
current_param = ''
|
||||
k += progress+1
|
||||
elif ch==')':
|
||||
#print "Down one level parenthesis: %i caracters parsed"%k
|
||||
#print "Down one level parenthesis: %i characters parsed"%k
|
||||
params.append(current_param)
|
||||
#print "Current params:",params#k -= acc-2
|
||||
return params,k
|
||||
|
||||
Reference in New Issue
Block a user