Skip to content

Commit

Permalink
new field node.ident.props
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlei committed Jul 9, 2014
1 parent a1d1e42 commit 2918cca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion smop/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ class number(atom,recordtype("number","value lineno lexpos",default=None)):
def __str__(self):
return str(self.value)

class ident(atom,recordtype("ident","name lineno column lexpos defs",default=None)):
class ident(atom,recordtype("ident","name lineno column lexpos defs props",
default=None,field_defaults={"props": set() } )):
def __str__(self):
return self.name

Expand Down

0 comments on commit 2918cca

Please sign in to comment.