Differences From Artifact [2816a291e16d0986]:
- File
polemy/valueconv.d
- 2010-11-23 13:55:15 - part of checkin [2134cd44cc] on branch trunk - further clean-up for polemy2d (user: kinaba) [annotate]
To Artifact [94ac916389440918]:
- File
polemy/valueconv.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]
62 { 62 {
63 if(auto t = cast(Table)_v) 63 if(auto t = cast(Table)_v)
64 { 64 {
65 LexPosition pos = extractPos(t); 65 LexPosition pos = extractPos(t);
66 66
67 StrValue typ = cast(StrValue) t.access!StrValue(ValueLay 67 StrValue typ = cast(StrValue) t.access!StrValue(ValueLay
68 if( typ is null ) 68 if( typ is null )
69 throw genex!RuntimeException(text(`Invalid AST ( | 69 throw genex!RuntimeException(callpos, text(`Inva
70 70
71 foreach(AT; ListOfASTTypes) 71 foreach(AT; ListOfASTTypes)
72 if(typ.data == typeid(AT).name.split(".")[$-1].t 72 if(typ.data == typeid(AT).name.split(".")[$-1].t
73 { 73 {
74 typeof(AT.tupleof) mems; 74 typeof(AT.tupleof) mems;
75 foreach(i,m; mems) 75 foreach(i,m; mems)
76 { 76 {