[flang] Dump parse tree even if semantic error occurs
authorTim Keith <tkeith@nvidia.com>
Wed, 17 Apr 2019 14:44:58 +0000 (07:44 -0700)
committerTim Keith <tkeith@nvidia.com>
Wed, 17 Apr 2019 14:44:58 +0000 (07:44 -0700)
commit79826a73b2333902347192e48a1dda1041cf8f57
tree7ee5cbefd885f4adbbbd858b8fd5e421be14f85b
parentfab062244bdc128d7e82e23c2cb9fc3976264c00
[flang] Dump parse tree even if semantic error occurs

When -fdebug-dump-parse-tree is specified, dump the parse tree even
if semantic errors have occurred. This is necessary to see the parse
tree after it has been transformed.

Original-commit: flang-compiler/f18@bbdb0717da953c959cb1b6c531684952c239b98b
Reviewed-on: https://github.com/flang-compiler/f18/pull/417
flang/tools/f18/f18.cc