[flang-commits] [flang] [flang] Handle substring in data statement constant (PR #120130)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Mon Dec 16 11:55:20 PST 2024


================
@@ -930,7 +930,9 @@ TYPE_PARSER(construct<DataStmtRepeat>(intLiteralConstant) ||
 // So we parse literal constants, designator, null-init, and
 // structure-constructor, so that semantics can figure things out later
 // with the symbol table.
-TYPE_PARSER(sourced(first(construct<DataStmtConstant>(literalConstant),
+TYPE_PARSER(sourced(first(
----------------
eugeneepshteyn wrote:

Perhaps the comment above (starting on line 921) could be updated to include literal constant substrings?

https://github.com/llvm/llvm-project/pull/120130


More information about the flang-commits mailing list