lib/rouge/lexers/praat.rb in rouge-2.1.0 vs lib/rouge/lexers/praat.rb in rouge-2.1.1

- old
+ new

@@ -164,20 +164,20 @@ token Keyword pop! push :comma_list end - rule /[\s\n]/, Text, :pop! + rule /[\s]/, Text, :pop! end state :procedure_call do mixin :string_interpolated rule /(:|\s*\()/, Punctuation, :pop! rule /'/, Name::Function - rule /[^:\('\n\s]+/, Name::Function + rule /[^:\('\s]+/, Name::Function rule /(?=\s+)/ do token Text pop! push :old_arguments @@ -185,10 +185,10 @@ end state :procedure_definition do rule /(:|\s*\()/, Punctuation, :pop! - rule /[^:\(\n\s]+/, Name::Function + rule /[^:\(\s]+/, Name::Function rule /(\s+)/, Text, :pop! end state :function_call do