forked from facebook/hhvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: * Add missing annotations to the grammar of an enum (declaration). * Replace "enumeration" with "enum" both in the title and in the grammar for consistency with other declarations (e.g. we have "struct" instead of "structure"). * Spell out the delimiter as an an optional ",". While we also support semicolons for historical reasons, we warn about them, remove them during autoformat and it's probably a good idea to show the syntax we recommend. * Consolidate a few pieces of definition grammar for simplicity. * Remove another reference to C++ because enums in Thrift are only superficially similar. * Rephrase warnings/notes for clarity. Reviewed By: thedavekwon Differential Revision: D45956186 fbshipit-source-id: 0f8e0dd424f6a7364981328e41ff0db467ae5dbd
- Loading branch information
1 parent
bf191ea
commit 3d82826
Showing
1 changed file
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters