summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorkaizhangNV <149626564+kaizhangNV@users.noreply.github.com>2024-04-30 10:47:10 -0700
committerGitHub <noreply@github.com>2024-04-30 10:47:10 -0700
commit492f56e02fe9e9902eabefaa34f5b2fc9778dd47 (patch)
tree7bbef87fd9b0b117f01a1d34227bbd02f227f783 /slang.h
parentf1221b80c3c5f59ed533147825ea414bef5e9df2 (diff)
Add option -disable-short-circuit (#4054)
Add option -disable-short-circuit to disable short circuit for logic operators && and ||. Also, disable the short circuit by default in the stdlib.
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/slang.h b/slang.h
index 20d75e1f7..03c5cd6f8 100644
--- a/slang.h
+++ b/slang.h
@@ -860,6 +860,7 @@ extern "C"
SourceEmbedStyle,
SourceEmbedName,
SourceEmbedLanguage,
+ DisableShortCircuit, // bool
// Target