[flang] Expression analysis on DataStmtConstant
Data statements contains expressions but they are not wrapped in one of the kinds of parse tree nodes that are analyzed, like `parser::Expr`. So potential errors were not discovered. Change `ExprChecker` to handle `DataStmtConstant` and analyze any expressions that are contained in it. Note that the analyzed form of the expression is not yet saved in the parse tree. Original-commit: flang-compiler/f18@8bdaf0a521f6630ec2c369b2c41484eff4803d6e Reviewed-on: https://github.com/flang-compiler/f18/pull/1044
parent
01507584
Please register or sign in to comment