diff options
author | Li Jin <dragon-fly@qq.com> | 2021-01-05 10:07:11 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2021-01-05 10:07:11 +0800 |
commit | 900e4d6548c15461653583c4e70c3658d0b60d17 (patch) | |
tree | cbd000b7dfa9527fbab94aedd7e3733d46a9de24 | |
parent | 6a48f108666126893dcf7ff54b12172795858d3a (diff) | |
download | yuescript-900e4d6548c15461653583c4e70c3658d0b60d17.tar.gz yuescript-900e4d6548c15461653583c4e70c3658d0b60d17.tar.bz2 yuescript-900e4d6548c15461653583c4e70c3658d0b60d17.zip |
update year.
-rw-r--r-- | src/MoonP/moon_ast.h | 2 | ||||
-rw-r--r-- | src/MoonP/moon_compiler.cpp | 2 | ||||
-rw-r--r-- | src/MoonP/moon_compiler.h | 2 | ||||
-rw-r--r-- | src/MoonP/moon_parser.cpp | 2 | ||||
-rw-r--r-- | src/MoonP/moon_parser.h | 2 | ||||
-rw-r--r-- | src/MoonP/moonplus.cpp | 2 | ||||
-rw-r--r-- | src/moonp.cpp | 6 |
7 files changed, 9 insertions, 9 deletions
diff --git a/src/MoonP/moon_ast.h b/src/MoonP/moon_ast.h index 830234d..576b2cf 100644 --- a/src/MoonP/moon_ast.h +++ b/src/MoonP/moon_ast.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* Copyright (c) 2020 Jin Li, http://www.luvfight.me | 1 | /* Copyright (c) 2021 Jin Li, http://www.luvfight.me |
2 | 2 | ||
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
4 | 4 | ||
diff --git a/src/MoonP/moon_compiler.cpp b/src/MoonP/moon_compiler.cpp index 73f1407..75f1b35 100644 --- a/src/MoonP/moon_compiler.cpp +++ b/src/MoonP/moon_compiler.cpp | |||
@@ -1,4 +1,4 @@ | |||
1 | /* Copyright (c) 2020 Jin Li, http://www.luvfight.me | 1 | /* Copyright (c) 2021 Jin Li, http://www.luvfight.me |
2 | 2 | ||
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
4 | 4 | ||
diff --git a/src/MoonP/moon_compiler.h b/src/MoonP/moon_compiler.h index a1a5ce5..5855b2d 100644 --- a/src/MoonP/moon_compiler.h +++ b/src/MoonP/moon_compiler.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* Copyright (c) 2020 Jin Li, http://www.luvfight.me | 1 | /* Copyright (c) 2021 Jin Li, http://www.luvfight.me |
2 | 2 | ||
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
4 | 4 | ||
diff --git a/src/MoonP/moon_parser.cpp b/src/MoonP/moon_parser.cpp index 8b9ead4..ec95530 100644 --- a/src/MoonP/moon_parser.cpp +++ b/src/MoonP/moon_parser.cpp | |||
@@ -1,4 +1,4 @@ | |||
1 | /* Copyright (c) 2020 Jin Li, http://www.luvfight.me | 1 | /* Copyright (c) 2021 Jin Li, http://www.luvfight.me |
2 | 2 | ||
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
4 | 4 | ||
diff --git a/src/MoonP/moon_parser.h b/src/MoonP/moon_parser.h index bbd58e1..832d39d 100644 --- a/src/MoonP/moon_parser.h +++ b/src/MoonP/moon_parser.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* Copyright (c) 2020 Jin Li, http://www.luvfight.me | 1 | /* Copyright (c) 2021 Jin Li, http://www.luvfight.me |
2 | 2 | ||
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
4 | 4 | ||
diff --git a/src/MoonP/moonplus.cpp b/src/MoonP/moonplus.cpp index 47de01c..9b9689c 100644 --- a/src/MoonP/moonplus.cpp +++ b/src/MoonP/moonplus.cpp | |||
@@ -1,4 +1,4 @@ | |||
1 | /* Copyright (c) 2020 Jin Li, http://www.luvfight.me | 1 | /* Copyright (c) 2021 Jin Li, http://www.luvfight.me |
2 | 2 | ||
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
4 | 4 | ||
diff --git a/src/moonp.cpp b/src/moonp.cpp index 1e4302e..30cbe43 100644 --- a/src/moonp.cpp +++ b/src/moonp.cpp | |||
@@ -1,4 +1,4 @@ | |||
1 | /* Copyright (c) 2020 Jin Li, http://www.luvfight.me | 1 | /* Copyright (c) 2021 Jin Li, http://www.luvfight.me |
2 | 2 | ||
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
4 | 4 | ||
@@ -85,10 +85,10 @@ static const char luaminifyCodes[] = | |||
85 | 85 | ||
86 | static void pushLuaminify(lua_State* L) { | 86 | static void pushLuaminify(lua_State* L) { |
87 | if (luaL_loadbuffer(L, luaminifyCodes, sizeof(luaminifyCodes) / sizeof(luaminifyCodes[0]) - 1, "=(luaminify)") != 0) { | 87 | if (luaL_loadbuffer(L, luaminifyCodes, sizeof(luaminifyCodes) / sizeof(luaminifyCodes[0]) - 1, "=(luaminify)") != 0) { |
88 | std::string err = std::string("fail to load luaminify module.\n") + lua_tostring(L, -1); | 88 | std::string err = std::string("failed to load luaminify module.\n") + lua_tostring(L, -1); |
89 | luaL_error(L, err.c_str()); | 89 | luaL_error(L, err.c_str()); |
90 | } else if (lua_pcall(L, 0, 1, 0) != 0) { | 90 | } else if (lua_pcall(L, 0, 1, 0) != 0) { |
91 | std::string err = std::string("fail to init luaminify module.\n") + lua_tostring(L, -1); | 91 | std::string err = std::string("failed to init luaminify module.\n") + lua_tostring(L, -1); |
92 | luaL_error(L, err.c_str()); | 92 | luaL_error(L, err.c_str()); |
93 | } | 93 | } |
94 | } | 94 | } |