                 gname = prop.name
 
                 if not hasOwn.call @ejs_globals, gname
-                        throw new ReferenceError "unknown identifier `#{gname}' at line #{prop.loc.start.line}"
+                        throw new ReferenceError "undeclared identifier `#{gname}' at line #{prop.loc.start.line}"
                         
                 if @options.frozen_global
                         return ir.createLoad @ejs_globals[prop.name], "load-#{gname}"

                gname = exp.arguments[0].name

                if not hasOwn.call @ejs_globals, gname
                        throw new ReferenceError "unknown identifier `#{gname}' at line #{exp.loc.start.line}"

                if @options.frozen_global
                        throw new SyntaxError "cannot set global property '#{exp.arguments[0].name}' when using --frozen-global"

                        gname = prop.value

                if not hasOwn.call @ejs_globals, gname
                        throw new ReferenceError "undeclared identifier `#{gname}' at line #{prop.loc.start.line}"

                c = @getAtom gname

