Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- expr := comma_expr
- comma_expr := (comma_expr ',')? assignment_expr
- assignment_expr := conditional_expr (('=' | '+=' | '-=' | '*=' | '/=' | '%=' | '&=' | '|=' | '^=' | '<<=' | '>>=') assignment_expr)?
- conditional_expr := logical_or_expr ('?' logical_or_expr ':' conditional_expr)?
- logical_or_expr := (logical_or_expr '||')? logical_and_expr
- logical_and_expr := (logical_and_expr '&&')? bitwise_or_expr
- bitwise_or_expr := (bitwise_or_expr '|')? bitwise_xor_expr
- bitwise_xor_expr := (bitwise_xor_expr '^')? bitwise_and_expr
- bitwise_and_expr := (bitwise_and_expr '&')? equality_expr
- equality_expr := (equality_expr ('==' | '!='))? comparison_expr
- comparison_expr := (comparison_expr ('<' | '<=' | '>' | '>='))? bitwise_shift_expr
- bitwise_shift_expr := (bitwise_shift_expr ('<<' | '>>'))? additive_expr
- additive_expr := (additive_expr ('+' | '-'))? multiplicative_expr
- multiplicative_expr := (multiplicative_expr ('*' | '/' | '%'))? unary_expr
- unary_expr := ('!' | '~' | '-' | '+' | '*' | '&' | 'sizeof' | '++' | '--' )? basic_expr
- basic_expr := numbers_and_shit
- := '(' expr ')'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement