diff options
| author | Joel Martin <github@martintribe.org> | 2015-02-08 01:13:41 -0600 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2015-02-08 23:51:08 -0600 |
| commit | d6624158bdf41e047ad8d0a9942238dc80649901 (patch) | |
| tree | 4138b0e5c597b65a690adbc933748dc0c1271b7a /matlab/reader.m | |
| parent | ab6e6fae4e8935fca5fb33bd8645fe9cece18bb9 (diff) | |
| download | mal-d6624158bdf41e047ad8d0a9942238dc80649901.tar.gz mal-d6624158bdf41e047ad8d0a9942238dc80649901.zip | |
matlab: start of step4
Diffstat (limited to 'matlab/reader.m')
| -rw-r--r-- | matlab/reader.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/matlab/reader.m b/matlab/reader.m index 8c752c9..77dae07 100644 --- a/matlab/reader.m +++ b/matlab/reader.m @@ -14,7 +14,8 @@ classdef reader atm = str2double(token); elseif strcmp(token(1), '"') atm = token(2:length(token)-1); - %else if token eq 'nil' + elseif strcmp(token, 'nil') + atm = types.nil; elseif strcmp(token, 'true') atm = true; elseif strcmp(token, 'false') |
