# File lib/squish.rb, line 216 def from_keyword (text) if text =~ /\s*FROM\s+(.*?)(\s+WHERE\s+.*)/i content = $1 nextdata = $2 loginfo('from_keyword, next is where_lpar', content, nextdata) @from_args = content nextdata.gsub!(/WHERE\s+/i,"") ## TODO: make a node for WHERE_KEYWORD return where_lpar(nextdata) end puts "Expecting (optional) FROM; didn't find it." return false end