Skip to content

Commit

Permalink
Add support for LE and GE in binary_expression
Browse files Browse the repository at this point in the history
  • Loading branch information
ghedwards committed Sep 5, 2024
1 parent da07f10 commit cb1a5f1
Show file tree
Hide file tree
Showing 7 changed files with 275,469 additions and 271,735 deletions.
66 changes: 66 additions & 0 deletions cfhtml/src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -8082,6 +8082,39 @@
]
}
},
{
"type": "PREC_LEFT",
"value": "binary_relation",
"content": {
"type": "SEQ",
"members": [
{
"type": "FIELD",
"name": "left",
"content": {
"type": "SYMBOL",
"name": "expression"
}
},
{
"type": "FIELD",
"name": "operator",
"content": {
"type": "PATTERN",
"value": "[lL][eE]"
}
},
{
"type": "FIELD",
"name": "right",
"content": {
"type": "SYMBOL",
"name": "expression"
}
}
]
}
},
{
"type": "PREC_LEFT",
"value": "binary_relation",
Expand Down Expand Up @@ -8544,6 +8577,39 @@
]
}
},
{
"type": "PREC_LEFT",
"value": "binary_relation",
"content": {
"type": "SEQ",
"members": [
{
"type": "FIELD",
"name": "left",
"content": {
"type": "SYMBOL",
"name": "expression"
}
},
{
"type": "FIELD",
"name": "operator",
"content": {
"type": "PATTERN",
"value": "[gG][eE]"
}
},
{
"type": "FIELD",
"name": "right",
"content": {
"type": "SYMBOL",
"name": "expression"
}
}
]
}
},
{
"type": "PREC_LEFT",
"value": "ternary",
Expand Down
Loading

0 comments on commit cb1a5f1

Please sign in to comment.