pspp-commits
[Top][All Lists]
Advanced

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

[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v1.4.1-454-g3d501


From: Ben Pfaff
Subject: [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v1.4.1-454-g3d5011b
Date: Sun, 18 Jul 2021 17:27:21 -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 "GNU PSPP".

The branch, master has been updated
       via  3d5011bbd45f2bd802caf55211bc060ed777a321 (commit)
       via  61d50bb6faca2b65483ee1eac6a214a5a1263a13 (commit)
       via  be14f24529e64b7d1dad2b148b4d254da38160de (commit)
      from  08588e75a1df413eff334c30d62a93d04cb214cf (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 3d5011bbd45f2bd802caf55211bc060ed777a321
Author: Ben Pfaff <blp@cs.stanford.edu>
Date:   Sun Jul 18 14:21:24 2021 -0700

    lexer: Change the pipeline to allow more flexible use of macros.
    
    Frans Houweling reported that a use of macros in the following way:
    
        DEFINE !dir() "/directory/to/my/work" !ENDDEFINE.
        GET FILE=!dir + "/filename.sav".
    
    did not work properly with the newly implemented PSPP macro facility.
    Indeed, PSPP has until now implemented string concatenation early in the
    lexical pipeline, before macro expansion, so that the above could
    not work.  This commit reworks it so that string concatenation happens
    as the last stage in lexical analysis.  It allows the above syntax
    to work as expected.

commit 61d50bb6faca2b65483ee1eac6a214a5a1263a13
Author: Ben Pfaff <blp@cs.stanford.edu>
Date:   Sun Jul 18 14:20:06 2021 -0700

    str: New function ss_swap().

commit be14f24529e64b7d1dad2b148b4d254da38160de
Author: Ben Pfaff <blp@cs.stanford.edu>
Date:   Mon Jul 5 15:15:45 2021 -0700

    segment: Make negative numbers into single segments.

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

Summary of changes:
 src/language/control/define.c    |   9 +-
 src/language/lexer/lexer.c       | 748 +++++++++++++++++++++------------------
 src/language/lexer/macro.c       | 275 +++++++-------
 src/language/lexer/macro.h       |  13 +-
 src/language/lexer/scan.c        | 623 ++++++++++++--------------------
 src/language/lexer/scan.h        |  68 +---
 src/language/lexer/segment.c     |  29 +-
 src/language/lexer/token.h       |   7 +-
 src/libpspp/message.c            |   9 +-
 src/libpspp/message.h            |   2 +-
 src/libpspp/str.c                |   9 +
 src/libpspp/str.h                |   1 +
 tests/language/control/define.at | 239 ++++++++-----
 tests/language/lexer/lexer.at    |   2 +-
 tests/language/lexer/scan-test.c |  56 ++-
 tests/language/lexer/scan.at     | 452 ++++-------------------
 tests/language/lexer/segment.at  |  79 ++++-
 17 files changed, 1179 insertions(+), 1442 deletions(-)


hooks/post-receive
-- 
GNU PSPP



reply via email to

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