Differences From Artifact [bacc00f3f91907a9]:
- File
polemy/parse.d
- 2010-11-23 18:28:47 - part of checkin [ba11f1d551] on branch trunk - fixed the macro scoping rules concerning non-macro let (user: kinaba) [annotate]
To Artifact [64474993b2d6bb44]:
- File
polemy/parse.d
- 2010-11-24 03:30:56 - part of checkin [20be503cae] on branch trunk - set up referece manual (user: kinaba) [annotate]
433 SinglePattern[] parsePattern(string[] path = null) 433 SinglePattern[] parsePattern(string[] path = null)
434 { 434 {
435 SinglePattern[] result; 435 SinglePattern[] result;
436 if( tryEat("{") ) 436 if( tryEat("{") )
437 { 437 {
438 if( !tryEat("}") ) { 438 if( !tryEat("}") ) {
439 do { 439 do {
440 string key = eatId("in table pattern"); | 440 string key = eatId("in table pattern", A
441 eat(":", "after field-id in table patter 441 eat(":", "after field-id in table patter
442 result ~= parsePattern(path ~ key); 442 result ~= parsePattern(path ~ key);
443 } while( tryEat(",") ); 443 } while( tryEat(",") );
444 eat("}", "at the end of table pattern"); 444 eat("}", "at the end of table pattern");
445 } 445 }
446 } 446 }
447 else 447 else