twm: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Mar 5 10:38:00 UTC 2024


 src/events.c |    1 -
 src/gram.y   |    2 --
 src/icons.c  |    1 -
 src/lex.l    |    4 +++-
 src/list.c   |    2 +-
 src/menus.c  |    1 -
 src/parse.c  |    1 -
 src/parse.h  |   17 +++++++++++++++++
 src/twm.c    |    1 -
 src/util.c   |    2 +-
 10 files changed, 22 insertions(+), 10 deletions(-)

New commits:
commit 73c4cf88f3bf4094fd12cffec0147b957ad1e9c6
Author: Thomas E. Dickey <dickey at invisible-island.net>
Date:   Tue Mar 5 05:24:05 2024 -0500

    improve portability for bison/byacc
    
    Provide declaration of yyparse(), and alternate declaration of yylex().
    This works with bison and byacc, as well as different versions of flex.
    
    Signed-off-by: Thomas E. Dickey <dickey at invisible-island.net>

commit c2833e0c97f491a1acc87abe09adcd2b3f937688
Author: Thomas E. Dickey <dickey at invisible-island.net>
Date:   Tue Mar 5 04:17:19 2024 -0500

    improve declaration of yylex()
    
    Replace the extern declaration of yylex() in gram.y with a
    definition/use in parse.h, improving portability.
    
    Signed-off-by: Thomas E. Dickey <dickey at invisible-island.net>

commit cebd6e2bab56c12d48ed3aa3c562bf9661595394
Author: Thomas E. Dickey <dickey at invisible-island.net>
Date:   Tue Mar 5 04:10:29 2024 -0500

    amend yylineno change
    
    A recent change removed the declaration of yylineno from lex.l,
    making the program depend on the version of flex.
    
    Restore the declaration with an ifdef.
    Also, remove unused declaration in parse.c
    
    Signed-off-by: Thomas E. Dickey <dickey at invisible-island.net>

commit 4b01408715cd10e3bf02eb1e87531917a09c2645
Author: Thomas E. Dickey <dickey at invisible-island.net>
Date:   Tue Mar 5 03:43:57 2024 -0500

    include "gram.h" only from "parse.h"
    
    all of the users of (generated) gram.h rely upon (custom) parse.h,
    and the order of those headers affects portability.
    
    Signed-off-by: Thomas E. Dickey <dickey at invisible-island.net>



More information about the xorg-commit mailing list