Skip to content

Commit

Permalink
Comma split for .sym enumerations
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky authored Mar 17, 2020
1 parent 1808290 commit 2363bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/canmatrix/formats/sym.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ class Mode(object):
line = line.split('//')[0]
temp_array = line[5:].strip().rstrip(')').split('(', 1)
val_table_name = temp_array[0]
split = canmatrix.utils.quote_aware_space_split(temp_array[1])
split = canmatrix.utils.quote_aware_comma_split(temp_array[1])
temp_array = [s.rstrip(',') for s in split]
temp_val_table = {}
for entry in temp_array:
Expand Down

0 comments on commit 2363bab

Please sign in to comment.