zeroc-ice / ice

All-in-one solution for creating networked applications with RPC, pub/sub, server deployment, and more.
https://zeroc.com
GNU General Public License v2.0
2.04k stars 592 forks source link

Fix Comma Parsing Between Enumerators #2637

Closed InsertCreativityHere closed 1 month ago

InsertCreativityHere commented 1 month ago

This PR fixes #2514, and also simplifies enumerator construction in the parser.

We currently have 2 separate constructors for them, one which takes an explicit value parameter and one that doesn't. I merged them into a single constructor which takes an optional now.


As always, feel free to ignore the generated Grammar.cpp file.