Comparison

util/startup.lua @ 8728:41c959c5c84b

Fix spelling throughout the codebase [codespell]
author Kim Alvefur <zash@zash.se>
date Sun, 04 Feb 2018 01:51:25 +0100
parent 8721:b773b15fee71
child 8733:6a234e77c99f
comparison
equal deleted inserted replaced
8727:285075a27f28 8728:41c959c5c84b
41 local ok, level, err = config.load(filename); 41 local ok, level, err = config.load(filename);
42 if not ok then 42 if not ok then
43 print("\n"); 43 print("\n");
44 print("**************************"); 44 print("**************************");
45 if level == "parser" then 45 if level == "parser" then
46 print("A problem occured while reading the config file "..filename); 46 print("A problem occurred while reading the config file "..filename);
47 print(""); 47 print("");
48 local err_line, err_message = tostring(err):match("%[string .-%]:(%d*): (.*)"); 48 local err_line, err_message = tostring(err):match("%[string .-%]:(%d*): (.*)");
49 if err:match("chunk has too many syntax levels$") then 49 if err:match("chunk has too many syntax levels$") then
50 print("An Include statement in a config file is including an already-included"); 50 print("An Include statement in a config file is including an already-included");
51 print("file and causing an infinite loop. An Include statement in a config file is..."); 51 print("file and causing an infinite loop. An Include statement in a config file is...");