webmcp
diff framework/env/encode/file_path.lua @ 64:3d43a5cf17c1
Compatibility with Lua 5.2
author | jbe |
---|---|
date | Sun Apr 15 16:04:33 2012 +0200 (2012-04-15) |
parents | 9fdfb27f8e67 |
children | 225d6b2ac050 |
line diff
1.1 --- a/framework/env/encode/file_path.lua Tue Apr 03 00:56:02 2012 +0200 1.2 +++ b/framework/env/encode/file_path.lua Sun Apr 15 16:04:33 2012 +0200 1.3 @@ -17,5 +17,5 @@ 1.4 for i = 1, #raw_elements do 1.5 encoded_elements[i] = encode.file_path_element(raw_elements[i]) 1.6 end 1.7 - return encode.concat_file_path(base, unpack(encoded_elements)) 1.8 + return encode.concat_file_path(base, table.unpack(encoded_elements)) 1.9 end