# std.zig.parser: Refactored \`commaOrEnd\` to \`expectCommaOrEnd\` · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d35a6655e0d1f5f75d882dbcd6f0e9f232a4bc24)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d35a6655e0d1f5f75d882dbcd6f0e9f232a4bc24

Requested commit: d35a6655e0d1f5f75d882dbcd6f0e9f232a4bc24

Commit: d35a6655e0d1f5f75d882dbcd6f0e9f232a4bc24

Tree: 8d25ec582153f409c1e5c3388936c582751a327e

Author: Jimmi Holst Christensen

Committer: Jimmi Holst Christensen

## Message

```
std.zig.parser: Refactored `commaOrEnd` to `expectCommaOrEnd`
* Now it returns end when found, or null if comma was found.
* State should now be appended outside the function

```

## Parents

- [206c0b8bdb4838010d6a1e70135134dc3edc6723](https://git.cafe/gitcafe/zig/commit/206c0b8bdb4838010d6a1e70135134dc3edc6723?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d35a6655e0d1f5f75d882dbcd6f0e9f232a4bc24?format=markdown)
