Skip to content

Commit

Permalink
* Add new templates to the gen app target.
Browse files Browse the repository at this point in the history
* cleanup new templates
  • Loading branch information
itod committed Mar 27, 2014
1 parent 989ac08 commit 686e682
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions PEGKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
D31BBCBB18E4AACB0003FFA3 /* table_index.grammar in Resources */ = {isa = PBXBuildFile; fileRef = D31BBCBA18E4AACB0003FFA3 /* table_index.grammar */; };
D31BBCBD18E4AAE20003FFA3 /* TableIndexParserTest.m in Sources */ = {isa = PBXBuildFile; fileRef = D31BBCBC18E4AAE20003FFA3 /* TableIndexParserTest.m */; };
D31BBCC018E4AAFC0003FFA3 /* TableIndexParser.m in Sources */ = {isa = PBXBuildFile; fileRef = D31BBCBF18E4AAFC0003FFA3 /* TableIndexParser.m */; };
D31BBCC118E4B4430003FFA3 /* PGPredictElseEmptyTemplate.txt in Resources */ = {isa = PBXBuildFile; fileRef = D31BBCB618E482C60003FFA3 /* PGPredictElseEmptyTemplate.txt */; };
D31C40A51779634700A1B8B7 /* JavaScriptWhitespaceParser.m in Sources */ = {isa = PBXBuildFile; fileRef = D31C40A41779634700A1B8B7 /* JavaScriptWhitespaceParser.m */; };
D3344F4917405B4B00598362 /* JSRecoveryTest.m in Sources */ = {isa = PBXBuildFile; fileRef = D3344F4817405B4B00598362 /* JSRecoveryTest.m */; };
D337F07E15D5AE7B00C83AED /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = D337F07C15D5AE7B00C83AED /* InfoPlist.strings */; };
Expand Down Expand Up @@ -1564,6 +1565,7 @@
D338309B171CA3BB00CCE513 /* PGSemanticPredicateTestStatTemplate.txt in Resources */,
D338309C171CA3BB00CCE513 /* PGSemanticPredicateTestAndThrowExprTemplate.txt in Resources */,
D338309D171CA3BB00CCE513 /* PGSemanticPredicateTestAndThrowStatTemplate.txt in Resources */,
D31BBCC118E4B4430003FFA3 /* PGPredictElseEmptyTemplate.txt in Resources */,
D338309E171CA3BB00CCE513 /* PGPredictIfTemplate.txt in Resources */,
D338309F171CA3BB00CCE513 /* PGSpeculateIfTemplate.txt in Resources */,
D33830A0171CA3BB00CCE513 /* PGPredictElseIfTemplate.txt in Resources */,
Expand Down
2 changes: 1 addition & 1 deletion res/PGPredictElseEmptyTemplate.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{%for 1 to depth %} {%/for%}} else { {{childString}}
{%for 1 to depth %} {%/for%}} else {
4 changes: 2 additions & 2 deletions test/CreateTableStmtParser.m
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ - (void)tempOpt_ {
[self execute:(id)^{
PUSH(@YES);
}];
} else {
} else {
[self matchEmpty:NO];
[self execute:(id)^{
PUSH(@NO);
Expand All @@ -158,7 +158,7 @@ - (void)existsOpt_ {
[self execute:(id)^{
PUSH(@YES);
}];
} else {
} else {
[self matchEmpty:NO];
[self execute:(id)^{
PUSH(@NO);
Expand Down
2 changes: 1 addition & 1 deletion test/TableIndexParser.m
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ - (void)indexOpt_ {

if ([self predicts:TABLEINDEX_TOKEN_KIND_INDEXED, TABLEINDEX_TOKEN_KIND_NOT_UPPER, 0]) {
[self index_];
} else {
} else {
[self matchEmpty:NO];
[self execute:(id)^{
PUSH(@"");
Expand Down

0 comments on commit 686e682

Please sign in to comment.