Fixed a variable redeclaration
authorWaqas Hussain <waqas20@gmail.com>
Mon, 8 Dec 2008 02:41:29 +0000 (07:41 +0500)
committerWaqas Hussain <waqas20@gmail.com>
Mon, 8 Dec 2008 02:41:29 +0000 (07:41 +0500)
tools/erlparse.lua

index b593b48d7cec8070312e21f666131b240e2f8590..af1628e57e3487f6f4bbfb9da64df30d1bdbe30a 100644 (file)
@@ -72,7 +72,7 @@ local function readSpecialString()
        read("<"); read("<"); -- read <<\r
        local str = "";\r
        if peek() == "\"" then\r
-               local str = readString();\r
+               str = readString();\r
        elseif peek() ~= ">" then\r
                error();\r
        end\r