forked from OSchip/llvm-project
[flang] More documentation. These changes fix two bugs noted in f18 issue#121.
Original-commit: flang-compiler/f18@f386472c5c Reviewed-on: https://github.com/flang-compiler/f18/pull/122 Tree-same-pre-rewrite: false
This commit is contained in:
parent
0b8d07cc42
commit
3577ee5f5f
|
@ -88,7 +88,9 @@ They are `constexpr`, so they should be viewed as type-safe macros.
|
|||
or with a warning if nonstandard usage warnings are enabled.
|
||||
* `deprecated(p)` parses p if strict standard compliance is disabled,
|
||||
with a warning if deprecated usage warnings are enabled.
|
||||
* `inContext(msg, p)` runs p within an error message context.
|
||||
* `inContext(msg, p)` runs p within an error message context; any
|
||||
message that `p` generates will be tagged with `msg` as its
|
||||
context. Contexts may nest.
|
||||
* `withMessage(msg, p)` succeeds if `p` does, and if it does not,
|
||||
it discards the messages from `p` and fails with the specified message.
|
||||
* `recovery(p, q)` is equivalent to `p || q`, except that error messages
|
||||
|
|
Loading…
Reference in New Issue