Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
flatbuffers
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
flatbuffers
Commits
4798456d
Commit
4798456d
authored
Jul 10, 2015
by
Wouter van Oortmerssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed type specifiers in the grammar document.
Change-Id: Ia6b976f0eb6a99d710bcd09cb56339580ff69f5b
parent
d0e9bc6a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
md__grammar.html
docs/html/md__grammar.html
+1
-1
Grammar.md
docs/source/Grammar.md
+1
-1
No files found.
docs/html/md__grammar.html
View file @
4798456d
...
...
@@ -60,7 +60,7 @@ $(document).ready(function(){initNavTree('md__grammar.html','');});
<p>
type_decl = (
<code>
table
</code>
|
<code>
struct
</code>
) ident metadata
<code>
{
</code>
field_decl+
<code>
}
</code></p>
<p>
enum_decl = (
<code>
enum
</code>
|
<code>
union
</code>
) ident [
<code>
:
</code>
type ] metadata
<code>
{
</code>
commasep( enumval_decl )
<code>
}
</code></p>
<p>
root_decl =
<code>
root_type
</code>
ident
<code>
;
</code></p>
<p>
field_decl =
type
<code>
:
</code>
ident
[
<code>
=
</code>
scalar ] metadata
<code>
;
</code></p>
<p>
field_decl =
ident
<code>
:
</code>
type
[
<code>
=
</code>
scalar ] metadata
<code>
;
</code></p>
<p>
type =
<code>
bool
</code>
|
<code>
byte
</code>
|
<code>
ubyte
</code>
|
<code>
short
</code>
|
<code>
ushort
</code>
|
<code>
int
</code>
|
<code>
uint
</code>
|
<code>
float
</code>
|
<code>
long
</code>
|
<code>
ulong
</code>
|
<code>
double
</code>
|
<code>
string
</code>
|
<code>
[
</code>
type
<code>
]
</code>
| ident
</p>
<p>
enumval_decl = ident [
<code>
=
</code>
integer_constant ]
</p>
<p>
metadata = [
<code>
(
</code>
commasep( ident [
<code>
:
</code>
scalar ] )
<code>
)
</code>
]
</p>
...
...
docs/source/Grammar.md
View file @
4798456d
...
...
@@ -18,7 +18,7 @@ enumval\_decl ) `}`
root
\_
decl =
`root_type`
ident
`;`
field
\_
decl =
type
`:`
ident
[
`=` scalar
]
metadata
`;`
field
\_
decl =
ident
`:`
type
[
`=` scalar
]
metadata
`;`
type =
`bool`
|
`byte`
|
`ubyte`
|
`short`
|
`ushort`
|
`int`
|
`uint`
|
`float`
|
`long`
|
`ulong`
|
`double`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment