File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -413,13 +413,13 @@ the compiled expression returned by `te_compile()` would become:
413413* TinyExpr++* parses the following grammar (from lowest-to-highest operator precedence):
414414
415415 <list> = <expr> {(",", ";" [dependent on locale]) <expr>}
416- <expr> = <term> {("&" | "|") <term>}
416+ <expr> = <term> {("&" | "|" | "&&" | "||" ) <term>}
417417 <expr> = <term> {("<>" | "!=" | "=" | "<") | "<=") | ">" | ">=") <term>}
418- <expr> = <term> {("<<" | ">>") <term>}
418+ <expr> = <term> {("<<" | ">>" | "<<<" | ">>>" ) <term>}
419419 <expr> = <term> {("+" | "-") <term>}
420420 <term> = <factor> {("*" | "/" | "%") <factor>}
421421 <factor> = <power> {("^" | "**") <power>}
422- <power> = {("-" | "+")} <base>
422+ <power> = {("-" | "+" | "~" )} <base>
423423 <base> = <constant>
424424 | <variable>
425425 | <function-0> {"(" ")"}
You can’t perform that action at this time.
0 commit comments