shithub: mc

Download patch

ref: 709c76b410df4f968557b6013284ac5bc2471213
parent: 92dd0254be91f229e53403e4edb0997c4b78bfcd
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Aug 7 21:13:34 EDT 2012

Return the right token.

--- a/parse/tok.c
+++ b/parse/tok.c
@@ -344,7 +344,7 @@
         case '#': tt = Thash; break;
         case ':':
                   if (match(':'))
-                      tt = Ttrait;
+                      tt = Twith;
                   else
                       tt = Tcolon;
                   break;
--