Permalink
Browse files

Make sure it compiles before comitting next time.

  • Loading branch information...
1 parent fc49e38 commit bac1cf4b05a306bc40ea515a1bb7b96613878606 @hiddenmemory committed Apr 9, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 Tipi/TPTemplateParser.m
  2. +1 −1 Tipi/main.m
@@ -80,7 +80,7 @@ - (NSString*)expansionUsingEnvironment:(NSDictionary*)values {
[environment setObject:[^NSString*( TPTemplateNode *node, NSMutableDictionary *environment ) {
if( [node.values count] ) {
NSString *key = [[node.values objectAtIndex:0] lowercaseString];
- if( !([key isEqualToString:@"bind"] || [key isEqualToString:@"def"] ) {
+ if( !([key isEqualToString:@"bind"] || [key isEqualToString:@"def"]) ) {
// Don't allow people to redfine bind or def.
if( [node.childNodes count] ) {
// If there is one or more child nodes, we assume that this is an expansion block
View
@@ -15,7 +15,7 @@ int main(int argc, const char * argv[]) {
@autoreleasepool {
NSMutableDictionary *environment = [NSMutableDictionary dictionary];
- [environment setObject:[^NSString*( TPTemplateNode *node, NSMutableDictionary *environment, NSArray *parameters ) {
+ [environment setObject:[^NSString*( TPTemplateNode *node, NSMutableDictionary *environment ) {
TPMarkdownDataParser *parser = [TPMarkdownDataParser parserForFile:[node.values objectAtIndex:0]];
// Duplicate the environment for implementing the child nodes

0 comments on commit bac1cf4

Please sign in to comment.