From 9eebb0a64b2baef4b8e607d32726dd866d4d7209 Mon Sep 17 00:00:00 2001 From: Martin Carlberg Date: Thu, 22 Aug 2013 16:53:22 +0200 Subject: [PATCH] Fixed: Pass correct node to error message when finding duplicated protocol --- Objective-J/ObjJAcornCompiler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objective-J/ObjJAcornCompiler.js b/Objective-J/ObjJAcornCompiler.js index ce1aa9fa4..39685ca3d 100644 --- a/Objective-J/ObjJAcornCompiler.js +++ b/Objective-J/ObjJAcornCompiler.js @@ -1829,7 +1829,7 @@ ProtocolDeclarationStatement: function(node, st, c) { inheritFromProtocols = []; if (protocolDef) - throw compiler.error_message("Duplicate protocol " + protocolName, node.protocolName); + throw compiler.error_message("Duplicate protocol " + protocolName, node.protocolname); compiler.imBuffer = new StringBuffer(); compiler.cmBuffer = new StringBuffer();