[Chapel Merge] dyno: Yet more fixes for parser and converter (#19

Branch: refs/heads/main
Revision: 567b983
Author: dlongnecke-cray
Link: dyno: Yet more fixes for parser and converter by dlongnecke-cray · Pull Request #19711 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19711 from dlongnecke-cray/dyno-more-parser-fixes

dyno: Yet more fixes for parser and converter (#19711)

This PR is a collection of many different small patches which aim
to reduce test failures when running under --dyno, LLVM=system.
It modifies both parsers and the converter.

This PR incorporates prior commits by @mppf which adjust the old
scanner to be consistent with dyno error messages.

It also includes his minor adjustment to the spec for the
"hexadecimal digit" rule.

[Summary: #Successes = 13532 | #Failures = 37 | #Futures = 0]
(with LLVM=system)

TESTING

  • [x] ALL on linux64 w/ COMM=none
  • [x] ALL on linux64 w/ COMM=gasnet

Reviewed by @arezaii. Thanks!

Signed-off-by: David Longnecker dlongnecke-cray@users.noreply.github.com

Modified Files:
A test/classes/delete-free/multiple-modifiers.prediff

R test/parsing/vass/newline-in-string-compiletime-1.future
M compiler/AST/build.cpp
M compiler/dyno/include/chpl/uast/Builder.h
M compiler/dyno/lib/parsing/ParserContext.h
M compiler/dyno/lib/parsing/ParserContextImpl.h
M compiler/dyno/lib/parsing/bison-chpl-lib.cpp
M compiler/dyno/lib/parsing/bison-chpl-lib.h
M compiler/dyno/lib/parsing/chpl.ypp
M compiler/dyno/lib/parsing/flex-chpl-lib.cpp
M compiler/dyno/lib/parsing/flex-chpl-lib.h
M compiler/dyno/lib/parsing/lexer-help.h
M compiler/dyno/lib/uast/Builder.cpp
M compiler/dyno/lib/uast/chpl-syntax-printer.cpp
M compiler/dyno/test/parsing/testParseStringBytesLiterals.cpp
M compiler/dyno/test/uast/testStringify.cpp
M compiler/include/astlocs.h
M compiler/include/flex-chapel.h
M compiler/parser/bison-chapel.cpp
M compiler/parser/chapel.lex
M compiler/parser/chapel.ypp
M compiler/parser/flex-chapel.cpp
M compiler/passes/convert-uast.cpp
M compiler/resolution/lifetime.cpp
M compiler/util/astlocs.cpp
M doc/rst/language/spec/lexical-structure.rst
M test/classes/delete-free/multiple-modifiers.good
M test/parsing/ferguson/comment-test.good
M test/parsing/ferguson/comment-test2.good
M test/parsing/vass/comment-nested-slashstarslash-1.good
M test/parsing/vass/newline-in-string-compiletime-1.good
M test/parsing/vass/newline-in-string-err-1.good
M test/parsing/vass/newline-in-string-err-2.good
M test/parsing/vass/newline-in-string-err-3.good
M test/parsing/vass/wrong-escapes-1.good
M test/parsing/vass/wrong-escapes-2.good
M test/parsing/vass/wrong-escapes-3.good
M test/parsing/vass/wrong-escapes-4.good
M test/parsing/vass/wrong-unended-string-1.good
M test/parsing/vass/wrong-unended-string-2.good
M test/parsing/vass/wrong-unended-string-3.good
M test/parsing/vass/wrong-unended-string-4.good
M test/statements/sungeun/bad_label.good
M test/types/string/ferguson/literal-octal.good
M test/types/string/ferguson/literal-unicode.good
M test/types/tuple/bharshbarg/groupedInTuple.good

Compare: https://github.com/chapel-lang/chapel/compare/eb63afe355bc...567b9832a5c0