aboutsummaryrefslogtreecommitdiff
path: root/src/MoonP/moon_compiler.h
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2020-03-30 11:29:13 +0800
committerLi Jin <dragon-fly@qq.com>2020-03-30 11:29:13 +0800
commit1c4c3159374a5c4b08a06ca8e3e7f49442edd59c (patch)
tree735dd2dc501e8f32d89bef3a76d826c73ffafdf7 /src/MoonP/moon_compiler.h
parent147893cdbf00d40ebda6b7840d3734ccda294347 (diff)
downloadyuescript-1c4c3159374a5c4b08a06ca8e3e7f49442edd59c.tar.gz
yuescript-1c4c3159374a5c4b08a06ca8e3e7f49442edd59c.tar.bz2
yuescript-1c4c3159374a5c4b08a06ca8e3e7f49442edd59c.zip
add useSpaceOverTab option for compiler, add variadic arguments declaration check, fix assignment with backcall expr not well handled issue.
Diffstat (limited to '')
-rw-r--r--src/MoonP/moon_compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/MoonP/moon_compiler.h b/src/MoonP/moon_compiler.h
index d22a95a..540f9e7 100644
--- a/src/MoonP/moon_compiler.h
+++ b/src/MoonP/moon_compiler.h
@@ -23,6 +23,7 @@ struct MoonConfig {
23 bool lintGlobalVariable = false; 23 bool lintGlobalVariable = false;
24 bool implicitReturnRoot = true; 24 bool implicitReturnRoot = true;
25 bool reserveLineNumber = true; 25 bool reserveLineNumber = true;
26 bool useSpaceOverTab = false;
26 int lineOffset = 0; 27 int lineOffset = 0;
27}; 28};
28 29