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

BUG #1

Open
Droppix opened this issue Apr 24, 2016 · 0 comments
Open

BUG #1

Droppix opened this issue Apr 24, 2016 · 0 comments

Comments

@Droppix
Copy link

Droppix commented Apr 24, 2016

Hi,

I have a problem with access to my variable (2016.s) :(below my code)
I think the key 2016 interpreted as a number and not a string.
`
NSString *input = @"{{2016.s}}";
id vars = @{@"2016": @{ @"s" : @123.45}};

NSError *err = nil;
BOOL success = [eng processTemplateString:input withVariables:vars toStream:stream error:&err];
Error Domain=PEGKitErrorDomain Code=1 "TDTemplateEngineErrorDomain" UserInfo={NSLocalizedDescription=TDTemplateEngineErrorDomain, range=NSRange: {9223372036854775807, 0}, lineNumber=0, NSLocalizedFailureReason=Error while compiling print node expression2016.s`
Expected : «EOF»
Line : 1
}

Have you a solution?

Thanks

@Droppix Droppix changed the title iOS BUG Apr 25, 2016
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