Diff
Not logged in

Differences From Artifact [b98d4e6a5ceb6fb9]:

To Artifact [8d68dafbd094d6fe]:


33 33 assert_eq( t, new Token(p, "class", false) ); 34 34 assert_lt( t, new Token(p, "struct", false) ); 35 35 assert_ne( t, u ); 36 36 assert( u.quoted ); 37 37 38 38 assert( !__traits(compiles, new Token) ); 39 39 assert( !__traits(compiles, t.pos=p) ); 40 - assert( !__traits(compiles, t.str=789) ); 40 + assert( !__traits(compiles, t.str="789") ); 41 41 assert( !__traits(compiles, t.quoted=true) ); 42 42 } 43 43 44 44 /// Named Construtors for Lexer 45 45 46 46 Lexer lexerFromFile(T...)( string filename, T ln_cn ) 47 47 {