X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/91a416e4f1f0a34c4683355e7c323661ef9a0309..cde525f7e0bded621b0c3f39dfbbc5f49e067dac:/Cycript.y?ds=inline diff --git a/Cycript.y b/Cycript.y index b1d2230..4b90f42 100644 --- a/Cycript.y +++ b/Cycript.y @@ -326,6 +326,19 @@ int cylex(YYSTYPE *lvalp, cy::location *llocp, void *scanner); %type SelectorList %type VariadicCall +%left "*" "/" "%" +%left "+" "-" +%left "<<" ">>" ">>>" +%left "<" ">" "<=" ">=" "instanceof" "in" +%left "==" "!=" "===" "!==" +%left "&" +%left "^" +%left "|" +%left "&&" +%left "||" + +%right "=" "*=" "/=" "%=" "+=" "-=" "<<=" ">>=" ">>>=" "&=" "^=" "|=" + %nonassoc "if" %nonassoc "else"