Fix a bug if you forgot to close a define() block

Hello @eford1, 

Please review the following commits I made in branch 'nick-end'.

8956c0b83ecb0187c2295b8fb7a0a0313ca3a6ea (2013-07-12 11:27:12 -0400)
Fix a bug if you forgot to close a define() block


R=@eford1