Index: trunk/ab5.0/abdev/compiler_x86/Compile_Calc.cpp
===================================================================
--- trunk/ab5.0/abdev/compiler_x86/Compile_Calc.cpp	(revision 562)
+++ trunk/ab5.0/abdev/compiler_x86/Compile_Calc.cpp	(revision 564)
@@ -461,6 +461,6 @@
 			}
 			else{
-				if( compiler.GetObjectModule().meta.GetGlobalConsts().IsExist(variable)
-					|| compiler.GetObjectModule().meta.GetGlobalConstMacros().IsExist(variable) )
+				if( compiler.GetObjectModule().meta.GetGlobalConsts().IsExistDuplicationKeyName(variable)
+					|| compiler.GetObjectModule().meta.GetGlobalConstMacros().IsExistDuplicationKeyName(variable) )
 				{
 					//定数リストに該当したとき
