summaryrefslogtreecommitdiff
path: root/cc/src/bin/gcc-shim.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-05-27 08:16:27 -0700
committerDaniel Mueller <deso@posteo.net>2019-05-27 08:16:27 -0700
commitc01bbbf186cd88f9e1b3c3eda0459635bed209b4 (patch)
treed161ffd8fc36dc18ba99ff157241c6191d89c9ff /cc/src/bin/gcc-shim.rs
parentb637d5284c6117da3bfeb471da7c62e53a632621 (diff)
downloadnitrocli-c01bbbf186cd88f9e1b3c3eda0459635bed209b4.tar.gz
nitrocli-c01bbbf186cd88f9e1b3c3eda0459635bed209b4.tar.bz2
Require trailing comma in Enum macro's input
The input to the Enum macro is supposed to resemble the definition of an enum in Rust code. When manually defining an enum (or a struct for that matter), we typically terminate all branches with a comma, and don't just omit that on the last line. To mirror this behavior, this change adjusts the Enum macro to accept (and in fact, require) a comma-terminated last line as well, as opposed to not accepting it as had been the case so far.
Diffstat (limited to 'cc/src/bin/gcc-shim.rs')
0 files changed, 0 insertions, 0 deletions