diff options
author | Karl Berry <karl@freefriends.org> | 2013-05-18 21:58:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-05-18 21:58:51 +0000 |
commit | 1b4cb2401e932a47c4e736a0197d22c7797b58ad (patch) | |
tree | 8e478eee9868a06467931e053ec06658ae3a8e06 /Build/source/utils/asymptote/camp.y | |
parent | 93dcab8a877f998aafe2bef5e59b7c6ea2f7f434 (diff) |
asy 2.22 sources
git-svn-id: svn://tug.org/texlive/trunk@30552 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/camp.y')
-rw-r--r-- | Build/source/utils/asymptote/camp.y | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Build/source/utils/asymptote/camp.y b/Build/source/utils/asymptote/camp.y index 33691100edb..82b8f0f9e8e 100644 --- a/Build/source/utils/asymptote/camp.y +++ b/Build/source/utils/asymptote/camp.y @@ -108,7 +108,7 @@ using mem::string; DOTS COLONS DASHES INCR LONGDASH CONTROLS TENSION ATLEAST CURL COR CAND BAR AMPERSAND EQ NEQ LT LE GT GE CARETS - '+' '-' '*' '/' '%' '^' LOGNOT OPERATOR + '+' '-' '*' '/' '%' '^' OPERATOR %token <pos> LOOSE ASSIGN '?' ':' DIRTAG JOIN_PREC AND '{' '}' '(' ')' '.' ',' '[' ']' ';' ELLIPSIS @@ -140,7 +140,6 @@ using mem::string; %left '*' '/' '%' LIT %left UNARY %right '^' -%left LOGNOT %left EXP_IN_PARENS_RULE %left '(' ')' @@ -473,7 +472,7 @@ exp: { $$ = new unaryExp($1.pos, $2, $1.sym); } | '-' exp %prec UNARY { $$ = new unaryExp($1.pos, $2, $1.sym); } -| LOGNOT exp { $$ = new unaryExp($1.pos, $2, $1.sym); } +| OPERATOR exp { $$ = new unaryExp($1.pos, $2, $1.sym); } | exp '+' exp { $$ = new binaryExp($2.pos, $1, $2.sym, $3); } | exp '-' exp { $$ = new binaryExp($2.pos, $1, $2.sym, $3); } | exp '*' exp { $$ = new binaryExp($2.pos, $1, $2.sym, $3); } |