summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-08-08 01:13:34 -0400
committerOri Bernstein <ori@eigenstate.org>2012-08-08 01:13:34 -0400
commit709c76b410df4f968557b6013284ac5bc2471213 (patch)
treef87303b6d7985e7242166d45959f0e3e661e84d3
parent92dd0254be91f229e53403e4edb0997c4b78bfcd (diff)
downloadmc-709c76b410df4f968557b6013284ac5bc2471213.tar.gz
Return the right token.
-rw-r--r--parse/tok.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/tok.c b/parse/tok.c
index 2b32374..691c1b1 100644
--- a/parse/tok.c
+++ b/parse/tok.c
@@ -344,7 +344,7 @@ static Tok *oper(void)
case '#': tt = Thash; break;
case ':':
if (match(':'))
- tt = Ttrait;
+ tt = Twith;
else
tt = Tcolon;
break;