Diff
Not logged in

Differences From Artifact [fbe471845b86f859]:

To Artifact [d3a7b70fa2f3b803]:


243 243 this(Lexer lex) { this.lex = lex; } 244 244 245 245 void eat(string kwd, lazy string msg) 246 246 { 247 247 if( !tryEat(kwd) ) 248 248 if( lex.empty ) 249 249 throw genex!UnexpectedEOF( 250 - currentPosition(), sprintf!"%s is expected for %s but not found"(kwd,msg)); 250 + currentPosition(), sprintf!"%s is expected %s but not found"(kwd,msg)); 251 251 else 252 252 throw genex!ParseException( 253 253 currentPosition(), sprintf!"%s is expected for %s but not found"(kwd,msg)); 254 254 } 255 255 256 256 bool tryEat(string kwd) 257 257 {