Skip to content

Commit 3a9b2db

Browse files
committed
fix issue
1 parent a6069c6 commit 3a9b2db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Resources/OSL Utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -851,6 +851,7 @@ class OSLUtils {
851851
if (!isNaN(+cur)) return { type: "num", data: +cur }
852852
else if (cur === "true" || cur === "false") return { type: "var", data: cur === "true" }
853853
else if (this.operators.indexOf(cur) !== -1) return { type: "opr", data: cur }
854+
else if (cur === "++") return { type: "opr", data: "++" }
854855
else if (cur === "--") return { type: "unk", data: "--" }
855856
else if (this.comparisons.indexOf(cur) !== -1) return { type: "cmp", data: cur }
856857
else if (cur.endsWith("=")) return { type: "asi", data: cur }

0 commit comments

Comments
 (0)