(block, variableName)
| 210 | //----------------------------------------------------------- |
| 211 | |
| 212 | function checkBlockForVariable(block, variableName) { |
| 213 | let curBlock = block; |
| 214 | while(curBlock) { |
| 215 | let found = curBlock.variables[variableName]; |
| 216 | if(found) return found; |
| 217 | curBlock = curBlock.parent; |
| 218 | } |
| 219 | return; |
| 220 | } |
| 221 | |
| 222 | function checkSubBlockEqualities(context, block) { |
| 223 | // if we have an equality that is with a constant, then we need to add |