mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Ruby 1.9 compatibility for convert-grammars
This commit is contained in:
		| @@ -233,7 +233,7 @@ def generate_yaml(all_scopes, base) | |||||||
|     out[value] << key |     out[value] << key | ||||||
|   end |   end | ||||||
|  |  | ||||||
|   yaml = yaml.sort.to_h |   yaml = Hash[yaml.sort] | ||||||
|   yaml.each { |k, v| v.sort! } |   yaml.each { |k, v| v.sort! } | ||||||
|   yaml |   yaml | ||||||
| end | end | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user