renshi 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/renshi/parser.rb +1 -1
- data/lib/renshi.rb +1 -1
- metadata +1 -1
data/lib/renshi/parser.rb
CHANGED
@@ -132,7 +132,7 @@ module Renshi
|
|
132
132
|
else #$foo
|
133
133
|
|
134
134
|
#divide with a delimiter for anything which is not a name character - alpa-numeric and underscore
|
135
|
-
words = text[(idx +1)..-1].split(/[^\w."'{}()
|
135
|
+
words = text[(idx +1)..-1].split(/[^\w."'{}()+=*\/\-@]/)
|
136
136
|
words[0] = "'$'" if words[0] == "$"
|
137
137
|
statement_str = words.first
|
138
138
|
statement = Statement.new(statement_str)
|
data/lib/renshi.rb
CHANGED