Skip to content

Commit

Permalink
Fix malformed #ifdef
Browse files Browse the repository at this point in the history
Fixes #2824
  • Loading branch information
Vurv78 committed Nov 9, 2023
1 parent 6a983ab commit 2d9dcb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/entities/gmod_wire_expression2/base/preprocessor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ end

function PreProcessor:GetFunction(args, type)
local thistype, colon, name, argtypes = args:match("([^:]-)(:?)([^:(]+)%(([^)]*)%)")
if not thistype or (thistype ~= "") ~= (colon ~= "") then self:Error("Malformed " .. type .. " argument " .. args) end
if not thistype or (thistype ~= "") ~= (colon ~= "") then self:Error("Malformed " .. type .. " argument " .. args) return end

thistype = self:GetType(thistype)

Expand Down

0 comments on commit 2d9dcb8

Please sign in to comment.