File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ bool ScriptLexer::atEOF() { return errorCount() || tokens.size() == pos; }
192
192
// Split a given string as an expression.
193
193
// This function returns "3", "*" and "5" for "3*5" for example.
194
194
static std::vector<StringRef> tokenizeExpr (StringRef s) {
195
- StringRef ops = " +-*/:!~=<> " ; // List of operators
195
+ StringRef ops = " !~*/+-<>?:= " ; // List of operators
196
196
197
197
// Quoted strings are literal strings, so we don't want to split it.
198
198
if (s.startswith (" \" " ))
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ SECTIONS {
25
25
logicalor = (0 || 0) + (0||1)*2 + (1|| 0)*4 + (1 ||1) *8;
26
26
logicalor2 = 0 && 0 || 1 && 1;
27
27
ternary1 = 0 ? 1 : 2 & 6;
28
- ternary2 = 1 ? 2 ? 3 : 4 : 5 ? 6 : 7;
28
+ ternary2 = 1 ? 2?3: 4 : 5? 6 :7;
29
29
30
30
plusassign =1;
31
31
plusassign += 2;
You can’t perform that action at this time.
0 commit comments