lua 報錯:'=' expected near ' '

    在測試特殊字符串處理時,截取爲單個字符,採用string.gfind(s, pattern)庫函數 編譯時在for uchar in這一行(42行)出現了syntax error during pre-compilation.'=' expected near ' '  這個報錯,翻譯後是預編譯期間的語法錯誤。這個時候有點懵?,不清楚什麼地方語法有問題。開始以爲是string.gfind中
相關文章
相關標籤/搜索