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
b611dc4b
Commit
b611dc4b
authored
Dec 01, 2015
by
Wouter van Oortmerssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed implicit dereference in flatc.
Change-Id: If2e62a325b47399561b4c20d2def55ede4831d19 Tested: on Linux.
parent
5f19ea5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
flatc.cpp
src/flatc.cpp
+3
-3
No files found.
src/flatc.cpp
View file @
b611dc4b
...
@@ -272,7 +272,7 @@ int main(int argc, const char *argv[]) {
...
@@ -272,7 +272,7 @@ int main(int argc, const char *argv[]) {
if
(
generator_enabled
[
i
])
{
if
(
generator_enabled
[
i
])
{
if
(
!
print_make_rules
)
{
if
(
!
print_make_rules
)
{
flatbuffers
::
EnsureDirExists
(
output_path
);
flatbuffers
::
EnsureDirExists
(
output_path
);
if
(
!
generators
[
i
].
generate
(
parser
,
output_path
,
filebase
,
opts
))
{
if
(
!
generators
[
i
].
generate
(
*
parser
,
output_path
,
filebase
,
opts
))
{
Error
(
std
::
string
(
"Unable to generate "
)
+
Error
(
std
::
string
(
"Unable to generate "
)
+
generators
[
i
].
lang_name
+
generators
[
i
].
lang_name
+
" for "
+
" for "
+
...
@@ -280,7 +280,7 @@ int main(int argc, const char *argv[]) {
...
@@ -280,7 +280,7 @@ int main(int argc, const char *argv[]) {
}
}
}
else
{
}
else
{
std
::
string
make_rule
=
generators
[
i
].
make_rule
(
std
::
string
make_rule
=
generators
[
i
].
make_rule
(
parser
,
output_path
,
*
file_it
,
opts
);
*
parser
,
output_path
,
*
file_it
,
opts
);
if
(
!
make_rule
.
empty
())
if
(
!
make_rule
.
empty
())
printf
(
"%s
\n
"
,
flatbuffers
::
WordWrap
(
printf
(
"%s
\n
"
,
flatbuffers
::
WordWrap
(
make_rule
,
80
,
" "
,
"
\\
"
).
c_str
());
make_rule
,
80
,
" "
,
"
\\
"
).
c_str
());
...
@@ -288,7 +288,7 @@ int main(int argc, const char *argv[]) {
...
@@ -288,7 +288,7 @@ int main(int argc, const char *argv[]) {
}
}
}
}
if
(
proto_mode
)
GenerateFBS
(
parser
,
output_path
,
filebase
,
opts
);
if
(
proto_mode
)
GenerateFBS
(
*
parser
,
output_path
,
filebase
,
opts
);
}
}
delete
parser
;
delete
parser
;
...
...
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