《星海爭霸2》Galaxy指令碼語言錯誤資訊列表及翻譯

發佈日期

位於core.sc2modenus.sc2data(如果是臺灣版的話是zhtw.sc2data)的error.txt。以下只是其中的galaxy部分。

於臺灣版的同樣沒有翻譯~~故此翻譯一下~~


galaxy
e_badlvalue=cannot assign to the left side of assignment expression
錯誤的左值
無法對等號左邊的表示式賦值。
e_badparametertype=can only pass basic types
錯誤的引數型別
只能傳遞基礎型別的引數。
e_cantfindinclude=include file not found
無法找到要inculde的檔案。
e_canttakeaddress=cannot use ’&’ on an object which has no address
無法獲取地址
無法對沒有地址的物件使用&運算子。
e_constassigned=const variable already assigned
常量已賦值
常量已經被被賦值過了。
e_constinitrequired=must initialize const variables
需要初始化常量
常量必須經過初始化。
e_constnotallowedhere=cannot use const here
不允許常數
無法在此使用常量。
e_derefnotpointer=cannot use ’->’ on a non-pointer object
解引用非指標
無法將->運算子用於非指標物件。
e_expectedarrayindex=expected an array index: ’[’
缺少陣列索引。
e_expectedboolexpr=expected a boolean expression
缺少布林(boolean)表示式
e_expectedclosebrace=expected a closing brace: ’}’
缺少結束大括號:’}’
e_expectedcomma=expected a comma: ’,’
缺少逗號:’,’
e_expectedconstexpr=non-constant initialization of constant object
缺少常量表示式
試圖用非常量表示式對常量進行初始化。
e_expectedexpr=expected an expression
缺少表示式
e_expectedfieldname=expected a field name inside a structure
缺少欄位名
缺少結構中的欄位名。
e_expectedfieldtype=expected a field type inside a structure
缺少欄位型別
缺少結構中的欄位型別。
e_expectedfuncbody=expected ’;’ or function body
缺少函式體
缺少’;’或函式體。
e_expectedglobalname=expected unused global variable or function name
缺少全域性名
缺少沒使用過的全域性變數名或函式名。
e_expectedinclude=expected an include file name
缺少需要include的檔名。
e_expectedinttype=shift operator requires integer value
需要int型
位移操作需要整型值。
e_expectedleftparen=expected ’(’
缺少左括號
缺少’(’。
e_expectednativename=expected a registered native function name
缺少native函式名
缺少註冊過的native函式名。
e_expectedopenbrace=expected an opening brace: ’{’
缺少開始大括號
缺少開始大括號:’{’
e_expectedparams=invalid parameter list
缺少引數
無效的引數列表。
e_expectedreturn=expected a return value
缺少返回
缺少返回值。
e_expectedrightparen=expected ’)’
缺少右括號
缺少’)’
e_expectedsemicolon=expected a semicolon: ’;’
缺少分號
缺少分號’;’
e_expectedstructident=structure requires an identifier
缺少結構識別符號
結構需要一個識別符號。
e_expectedtype=expected type name
缺少型別
缺少型別名。
e_expectedtypedefident=typedef requires an unused identifier
typedef缺少識別符號
typedef需要一個沒使用過的識別符號來定義新型別。
e_expectedtypedeftype=typedef requires a type
缺少型別
要給typedef指定一個型別。
e_globalstoolarge=global data are too large
全域性變數太大
全域性變數資料太大。
e_identifertruncated=truncated identifier
識別符號斷裂
識別符號被截斷。
e_illegalarraysize=illegal array dimension
非法的陣列尺寸。
e_illegalcharacter=illegal char constant
非法字元
非法的字元常量 。
e_illegalescapeseq=illegal escape sequence
非法轉意字元
非法的轉意字元。
e_illegalindex=array index require an integer value
非法索引
陣列指標只能為整數值。
e_illegaloctal=illegal octal digit
非法八進位制值
非法的八進位制數值。
e_internalgalaxyerror=internal compiler error
銀河內部錯誤
內部編譯錯誤。
e_localstoolarge=32k - 1 size limit to local variables
區域性變數太大
區域性變數超過32k-1的大小限制。
e_mangleoverflow=mangled name overflow
編譯器內部名稱溢位。
e_nativemismatch=native function prototype does not match the internal function
native函式不符
native函式原型與內部函式不符。
e_nestingtoodeep=nesting overflow
巢狀過深
巢狀溢位
e_newlineconst=newline in constant
常量換行
常量中出現換行。
e_nobulkcopy=bulk copy not supported
無批次複製
不支援批次複製。
e_noforwardsupport=struct forward declaration not supported
無前置宣告
結構不支援前置宣告。
e_noimplicitcast=implicit cast not allowed
無隱式型別轉換
不允許隱式型別轉換。
e_nonestedstruct=struct cannot be nested inside itself
無巢狀結構
結構無法巢狀自身。
e_notarray=cannot use ’[’: object is not an array
非陣列
無法使用’[’:物件不是個陣列。
e_notfunction=cannot use ’(’: object is not a function
非函式
無法使用’(’:物件不是個函式。
e_notstruct=cannot use ’.’: object is not a structure
無法使用’.’:物件不是結構。
e_notstructfield=this field is not a member of the struct type
非結構欄位
這個欄位不是該結構型別的成員。
e_novoidvars=illegal variable type: void
無void變數
非法的變數型別:void
e_numericoverflow=numeric overflow
數值溢位。
e_oldstyledimension=galaxy array definitions require the dimension after the type
舊式尺寸宣告
galaxy陣列需要將陣列尺寸放在型別後面來宣告。
e_paramcountmismatch=wrong number of parameters
引數個數不符
引數的個數錯誤。
e_paramtypemismatch=parameter type does not match the function definition
引數型別不符
引數型別與函式定義不符。
e_prototypemismatch=function does not match previous definition
函式原型不符
函式與之前定義的不符。
e_callbackmismatch=mismatched callback definitions
回撥不符
與回撥定義不符。
e_redefinedfield=struct field redefinition
欄位重定義
重定義了結構欄位。
e_redefinedfuncname=function already defined
重定義函式名
函式名已被定義過了。
e_redefinedparam=redefined identifier
重定義引數
重定義了識別符號。
e_registerusageoverflow=register overflow
暫存器溢位
e_requirestruct=require struct on left side of -> or .
需要結構
->的左邊需要有一個結構。
e_scripttoolarge=script too large
指令碼太大
指令碼過大。
e_statestackoverflow=stack overflow
堆疊溢位
e_stringtruncated=truncated string
字串截斷
字串被截斷。
e_syntaxerror=syntax error
語法錯誤
e_typecasterror=that typecast not allowed
型別轉換錯誤
不支援這種型別轉換。
e_typemismatch=types do not match
型別不符
e_undeffunction=function declared but not defined
函式未定義
函式已經宣告,但未定義。
e_unexpectedbreak=unexpected ’break’ statement
多餘的break
多餘的’break’語句。
e_unexpectedcomment=comment blocks with /* */ are not supported
不支援 /* */ 格式的註釋塊。
e_unexpectedcontinue=unexpected ’continue’ statement
多餘的continue
多餘’continue’語句。
e_unexpecteddirective=unexpected directive, galaxy does not have a preprocessor
不支援的指令
galaxy不支援預處理指令。
e_unexpectedgoto=’goto’ statements are unsupported
不支援goto
不支援’goto’語句。
e_unexpectednew=dynamic memory allocation unsupported
不支援new
不支援動態記憶體分配。
e_unexpectedoperator=operators ++ and -- are unsupported
不支援的運算子
不支援++和--運算子。
e_unexpectedreturn=unexpected value returned from a ’void’ function
多餘的return值
嘗試在宣告為void的函式體中返回一個值。
e_unexpectedsign=unexpected ’signed’ or ’unsigned’ as galaxy types have implicit sign
多餘的signed和unsigned標記。galaxy的型別都是隱式的有符號數。
e_unexpectedswitch=’switch’ statements are unsupported
不支援swith
不支援’switch’語。
e_unreachablecode=unreachable code
不可達的程式碼
e_jumpoutofbounds=code pointer tried to jump out of bounds
跳出界限
程式碼指標嘗試跳出界限。
e_nofunctionbody=no function body was ever declared
無函式體
沒有宣告函式體。
e_execpaused=execution paused
執行緒掛起
執行緒已掛起。
e_threadisactive=execution currently active
執行緒活躍
執行緒目前活躍。
e_threadisready=thread is ready to execute
執行緒就緒
執行緒已準備就緒。
e_exectimeout=execution took too long
執行超時
執行時間太長。
e_codeptrindata=code pointer tried to jump to data space
程式碼指標在資料區
程式碼指標嘗試調轉到資料區。
e_dataptrincode=data pointer tried to access code space
資料指標在程式碼區
資料指標嘗試訪問程式碼區。
e_divbyzero=divide by zero
除零異常
嘗試除以零。
e_invalidaddr=invalid address
無效地址
e_invalidglobalptr=invalid global pointer
無效的全域性指標。
e_invalidstackptr=invalid stack pointer
無效的堆疊指標。
e_nativecodeerror=native function has encountered an error
native函式錯誤
native函式遇到錯誤。
e_notincode=code pointer moved out of code space
不在程式碼區
程式碼指標超出程式碼區。
e_nullpointer=dereferenced a null pointer
空指標
解引用了一個空指標。
e_stackoverflow=stack overflow
堆疊上溢
e_stackunderflow=stack underflow
堆疊下溢
e_unknowninstr=unknown instruction
未知指令
e_functionnotfound=function not found
函式未找到
e_toomanythreads=too many threads
執行緒太多
e_nestediteration=nested iteration detected
巢狀迭代
檢測到巢狀迭代。

相關攻略文章

最新攻略