Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fieldname "On" causes parse failure? #3

Open
ollie1400 opened this issue Dec 8, 2016 · 0 comments
Open

Fieldname "On" causes parse failure? #3

ollie1400 opened this issue Dec 8, 2016 · 0 comments

Comments

@ollie1400
Copy link

Trying to parse a file with a field called on anywhere in it causes a crash:

For example trying to parse the file containing:

On: 2

results in:

Error using char
Conversion to char from logical is not
possible.

Error in ReadYamlRaw>scan_map (line 180)
        ich = char(i);

Error in ReadYamlRaw>scan (line 118)
        result = scan_map(r);

Error in ReadYamlRaw>load_yaml (line 78)
            result =
            scan(yaml.load(fileread([filename,
            fileext])));

Error in ReadYamlRaw (line 42)
    result = load_yaml(filename,
    nosuchfileaction, treatasdata);

Error in ReadYaml (line 48)
    ry = ReadYamlRaw(filename, 0,
    nosuchfileaction, treatasdata);

I've tried variations on the input file and it really just seems to be the presence of the word on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant