|
|
|
@ -4229,37 +4229,37 @@ IsTypeCast()) {
@@ -4229,37 +4229,37 @@ IsTypeCast()) {
|
|
|
|
|
lexer.NextToken(); |
|
|
|
|
|
|
|
|
|
#line 1826 "cs.ATG"
|
|
|
|
|
expressions.Add(new UnaryOperatorExpression(UnaryOperatorType.Minus) { StartLocation = t.Location })); |
|
|
|
|
expressions.Add(new UnaryOperatorExpression(UnaryOperatorType.Minus) { StartLocation = t.Location }); |
|
|
|
|
} else if (la.kind == 24) { |
|
|
|
|
lexer.NextToken(); |
|
|
|
|
|
|
|
|
|
#line 1827 "cs.ATG"
|
|
|
|
|
expressions.Add(new UnaryOperatorExpression(UnaryOperatorType.Not) { StartLocation = t.Location })); |
|
|
|
|
expressions.Add(new UnaryOperatorExpression(UnaryOperatorType.Not) { StartLocation = t.Location }); |
|
|
|
|
} else if (la.kind == 27) { |
|
|
|
|
lexer.NextToken(); |
|
|
|
|
|
|
|
|
|
#line 1828 "cs.ATG"
|
|
|
|
|
expressions.Add(new UnaryOperatorExpression(UnaryOperatorType.BitNot) { StartLocation = t.Location })); |
|
|
|
|
expressions.Add(new UnaryOperatorExpression(UnaryOperatorType.BitNot) { StartLocation = t.Location }); |
|
|
|
|
} else if (la.kind == 6) { |
|
|
|
|
lexer.NextToken(); |
|
|
|
|
|
|
|
|
|
#line 1829 "cs.ATG"
|
|
|
|
|
expressions.Add(new UnaryOperatorExpression(UnaryOperatorType.Dereference) { StartLocation = t.Location })); |
|
|
|
|
expressions.Add(new UnaryOperatorExpression(UnaryOperatorType.Dereference) { StartLocation = t.Location }); |
|
|
|
|
} else if (la.kind == 31) { |
|
|
|
|
lexer.NextToken(); |
|
|
|
|
|
|
|
|
|
#line 1830 "cs.ATG"
|
|
|
|
|
expressions.Add(new UnaryOperatorExpression(UnaryOperatorType.Increment) { StartLocation = t.Location })); |
|
|
|
|
expressions.Add(new UnaryOperatorExpression(UnaryOperatorType.Increment) { StartLocation = t.Location }); |
|
|
|
|
} else if (la.kind == 32) { |
|
|
|
|
lexer.NextToken(); |
|
|
|
|
|
|
|
|
|
#line 1831 "cs.ATG"
|
|
|
|
|
expressions.Add(new UnaryOperatorExpression(UnaryOperatorType.Decrement) { StartLocation = t.Location })); |
|
|
|
|
expressions.Add(new UnaryOperatorExpression(UnaryOperatorType.Decrement) { StartLocation = t.Location }); |
|
|
|
|
} else if (la.kind == 28) { |
|
|
|
|
lexer.NextToken(); |
|
|
|
|
|
|
|
|
|
#line 1832 "cs.ATG"
|
|
|
|
|
expressions.Add(new UnaryOperatorExpression(UnaryOperatorType.AddressOf) { StartLocation = t.Location })); |
|
|
|
|
expressions.Add(new UnaryOperatorExpression(UnaryOperatorType.AddressOf) { StartLocation = t.Location }); |
|
|
|
|
} else { |
|
|
|
|
Expect(20); |
|
|
|
|
Type( |
|
|
|
@ -4268,7 +4268,7 @@ out type);
@@ -4268,7 +4268,7 @@ out type);
|
|
|
|
|
Expect(21); |
|
|
|
|
|
|
|
|
|
#line 1838 "cs.ATG"
|
|
|
|
|
expressions.Add(new CastExpression(type) { StartLocation = t.Location })); |
|
|
|
|
expressions.Add(new CastExpression(type) { StartLocation = t.Location }); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if ( |
|
|
|
|