Skip to content
Snippets Groups Projects
Commit ee3c5783 authored by fangq's avatar fangq
Browse files

fix a bug in parse_array, previous version does not use any of the accelerations

git-svn-id: http://svn.code.sf.net/p/iso2mesh/code/trunk/jsonlab@316 786e58fb-9377-0410-9ff7-e4ac0ac0635c
parent d7fc9045
Branches
Tags
No related merge requests found
...@@ -148,7 +148,7 @@ function object = parse_object ...@@ -148,7 +148,7 @@ function object = parse_object
%%------------------------------------------------------------------------- %%-------------------------------------------------------------------------
function object = parse_array % JSON array is written in row-major order function object = parse_array % JSON array is written in row-major order
global pos inStr global pos inStr isoct
parse_char('['); parse_char('[');
object = cell(0, 1); object = cell(0, 1);
if next_char ~= ']' if next_char ~= ']'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment