little lexer tweak

This commit is contained in:
Jeremy Ashkenas
2010-01-11 08:46:50 -05:00
parent cfa357cbc3
commit 9cc7d6af27
3 changed files with 4 additions and 4 deletions

View File

@@ -5,8 +5,8 @@ print(results.join(',') is '2,18')
obj: {one: 1, two: 2, three: 3}
names: key + '!' for key of obj
odds: key + '!' for key, value of obj when value % 2 isnt 0
names: prop + '!' for prop of obj
odds: prop + '!' for prop, value of obj when value % 2 isnt 0
print(names.join(' ') is "one! two! three!")
print(odds.join(' ') is "one! three!")