diff options
| author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-11-20 03:51:56 +0100 | 
|---|---|---|
| committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-11-20 03:51:56 +0100 | 
| commit | f843a090cdda120d58f968b7936bdcc53b61e323 (patch) | |
| tree | a6866f1ebc4f28f7ace74e70a1d8fa87e47a63d0 /compat/bsd/sys/cdefs.h | |
| parent | c80c632ed2e844a66207da5fb462960ecca219f5 (diff) | |
throw error when macro returns with an unterminated command
it was not possible to inherit the parser state of the last command in
a macro. However, it was possible to exit the macro when its
last command was not properly terminated.
There is no useful conscious application of this behaviour.
 * If something like an uncomplete E-Command was last in the
   macro, there was absolutely no effect. However this points
   to a macro programming error.
 * If the last command started a string parameter but did not
   terminate it, the command might be (partially) executed.
   However the State's done() method wasn't called, which means
   that some commands will not execute at all. Again there's
   no useful application of this.
When on the other hand, the last command was not terminated
by accident, this was not reported to the user.
Diffstat (limited to 'compat/bsd/sys/cdefs.h')
0 files changed, 0 insertions, 0 deletions
