• 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
..
flatc.cpp Loading commit data...
flathash.cpp Loading commit data...
idl_gen_cpp.cpp Loading commit data...
idl_gen_fbs.cpp Loading commit data...
idl_gen_general.cpp Loading commit data...
idl_gen_go.cpp Loading commit data...
idl_gen_js.cpp Loading commit data...
idl_gen_php.cpp Loading commit data...
idl_gen_python.cpp Loading commit data...
idl_gen_text.cpp Loading commit data...
idl_parser.cpp Loading commit data...
reflection.cpp Loading commit data...