• Wouter van Oortmerssen's avatar
    Make flatc check for binary files to avoid accidental parsing. · 42c20d7a
    Wouter van Oortmerssen authored
    Binary file arguments to flatc have to be preceded by -- to
    identify them, forgetting this however results in them being
    attempted to be parsed as schema/json, with cryptic errors.
    This instead gives an error if 0 bytes are contained in your
    text file.
    
    Bug: 22069056
    Change-Id: I226bf651dcb016f18d7c8ffadcf23466a1fc0b87
    Tested: on Linux.
    42c20d7a
Name
Last commit
Last update
CMake Loading commit data...
android Loading commit data...
biicode Loading commit data...
build Loading commit data...
docs Loading commit data...
go Loading commit data...
include/flatbuffers Loading commit data...
java Loading commit data...
js Loading commit data...
net/FlatBuffers Loading commit data...
php Loading commit data...
python Loading commit data...
reflection Loading commit data...
samples Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
biicode.conf Loading commit data...
composer.json Loading commit data...
readme.md Loading commit data...