Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

Commit

Permalink
didn't need to puts there
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Feb 7, 2008
1 parent 2c167ae commit f5f6e7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,3 +1,4 @@
**/*.rbc
pkg*
doc*
doc*
*~
2 changes: 1 addition & 1 deletion examples/fib.scm
@@ -1,4 +1,4 @@

;; Fibonacci sequence
(define fib (lambda (x)
(if (< x 2) 1
(+ (fib (- x 1))
Expand Down
2 changes: 1 addition & 1 deletion lib/parser.rb
Expand Up @@ -74,7 +74,7 @@ def pop_token(input)
when /\A("(.*?)")/ # string
Regexp.last_match[2]
when /\A(#{IDENTIFIER_BEGIN}+#{IDENTIFIER_CHARS}*)/ # symbol
puts "#{Regexp.last_match[1]} - #{@@lines}"
# puts "#{Regexp.last_match[1]} - #{@@lines}"
# bugger--this is *not* going to work. every reference to the symbol
# resets the defined_in properties. ick! i don't want a ParseNode class!
Regexp.last_match[1].intern.affect{ |sym| sym.defined_in = [BusScheme.loaded_files.last, @@lines] }
Expand Down

0 comments on commit f5f6e7a

Please sign in to comment.