- if line[0] in "[,)":
- get_token()
- if match('['):
- if type_.name not in ('number', 'string'):
- sys.stderr.write('only double and string arrays supported\n')
- sys.exit(1)
- idx = force('id')
- if match('*'):
- times = force('int')
- if times != 2:
- sys.stderr.write('multiplication factor must be two\n')
+ if line[0] in "[,)":
+ get_token()
+ if match('['):
+ if type_.name not in ('number', 'string'):
+ sys.stderr.write('only double and string arrays supported\n')