Browse files

didn't need to puts there

  • Loading branch information...
1 parent 2c167ae commit f5f6e7a589afc8a4f9134839b8269d7e97522f77 @technomancy committed Feb 6, 2008
Showing with 4 additions and 3 deletions.
  1. +2 −1 .gitignore
  2. +1 −1 examples/fib.scm
  3. +1 −1 lib/parser.rb
View
3 .gitignore
@@ -1,3 +1,4 @@
**/*.rbc
pkg*
-doc*
+doc*
+*~
View
2 examples/fib.scm
@@ -1,4 +1,4 @@
-
+;; Fibonacci sequence
(define fib (lambda (x)
(if (< x 2) 1
(+ (fib (- x 1))
View
2 lib/parser.rb
@@ -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] }

0 comments on commit f5f6e7a

Please sign in to comment.