Skip to content

Commit

Permalink
git-svn-id: svn://rubyforge.org/var/svn/maruku/trunk@195 7e2f57f0-5a7…
Browse files Browse the repository at this point in the history
…5-4fd6-9797-5817c466b243
  • Loading branch information
Andrea Censi authored and nex3 committed May 3, 2009
1 parent 68a0457 commit 8c941bf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
8 changes: 6 additions & 2 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
Incomplete list of contributors
-------------------------------

Code and patches from:

* [Andrea Censi](http://www.dis.uniroma1.it/~acensi)
* [Jacques Distler](http://golem.ph.utexas.edu/~distler)
* [Andrea Censi](http://www.cds.caltech.edu/~andrea/)
* [Jacques Distler](http://golem.ph.utexas.edu/~distler/)
* Paul Dlug
* [Ari Stern](http://www.acm.caltech.edu/~astern)
* Damir Zekic (z3c)
* Alexandr Mankuta (cheba)
* Nathan Weizenbaum <nex342@gmail.com>

Bug reporting, feature requests and praise:

Expand Down
5 changes: 5 additions & 0 deletions bin/maruku
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require 'maruku'
require 'optparse'


def cli_puts(s)
$stderr.puts(s) if MaRuKu::Globals[:verbose]
end
Expand Down Expand Up @@ -57,6 +58,10 @@ opt = OptionParser.new do |opts|
puts "Maruku #{MaRuKu::Version}"; exit
end

opts.on_tail("--ext EXTENSIONS", "Use maruku extensions (comma separated)" ) do |s|
s.split(",").each do |e| require "maruku/ext/#{e}"; end
end

opts.on_tail("-h", "--help", "Show this message") do
puts opts
exit
Expand Down
2 changes: 1 addition & 1 deletion lib/maruku/input/charsource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def read_regexp(r)

def consume_whitespace
while c = cur_char
if (c == 32 || c == ?\t)
if (c == ?\s || c == ?\t)
# puts "ignoring #{c}"
ignore_char
else
Expand Down

0 comments on commit 8c941bf

Please sign in to comment.