commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] MIG branch, master, updated. v1.8-40-gd9a36da


From: Samuel Thibault
Subject: [SCM] MIG branch, master, updated. v1.8-40-gd9a36da
Date: Sat, 17 Jun 2023 16:58:35 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MIG".

The branch, master has been updated
       via  d9a36da6d785844139d291b37f80fbe087b2b59e (commit)
      from  f519e6e262b4f0f3cf7f2ffd8f9634c9f05d6ed4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d9a36da6d785844139d291b37f80fbe087b2b59e
Author: Sergey Bugaev <bugaevc@gmail.com>
Date:   Sat Jun 17 23:39:53 2023 +0300

    Remove error procedure directives
    
    Back in the wonderful old days of Mach 2, when there were no send-once
    rights, dead names, or port reference counts, MIG used to have more
    kinds of operations: there were functions, procedures, simpleprocedures,
    routines, and simpleroutines. Routines returned an error code as their C
    function return value, functions had real return values, procedures and
    simpleprocedures returned void.
    
    Functions, procedures, and simpleprocedures signalled errors by invoking
    a global function. By default, a function named MsgError was invoked,
    but a subsystem could specify a different function using the 'error'
    directive:
    
    error CustomErrorHandler;
    
    In Mach 3, functions, procedures, and simpleprocedures are gone.
    Routines and simpleroutines are the only remaining kinds of operations.
    Some 26 years later, most of the code for generating functions,
    procedures, and simpleprocedures was removed from GNU MIG in commit
    7f10b4ed6a557b7a1fd1083939156a3dcf8b377e. Error directives remained,
    seemingly due to an oversight. So remove them too.
    
    Found while trying to use the word 'error' as an identifier and
    receiving a cryptic syntax error from MIG.
    Message-Id: <20230617203953.622120-1-bugaevc@gmail.com>

-----------------------------------------------------------------------

Summary of changes:
 global.c |  1 -
 global.h |  1 -
 lexxer.l |  1 -
 parser.y | 10 ----------
 4 files changed, 13 deletions(-)


hooks/post-receive
-- 
MIG



reply via email to

[Prev in Thread] Current Thread [Next in Thread]