It'd probably be simpler to move the `if` into `parse_amdpar` instead of keeping it in `separate_tokenlist` with an argument.
```python
if not subpart:
    tokenized = separate_tokenlist(tokenized)
```