Wireshark-commits: [Wireshark-commits] master 38f348b: Put back EOF rule, but without exporting wri
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 20 Mar 2019 16:07:04 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=38f348bbb0bc829a5f5cdda5f374f7b73809a160
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

38f348b by Guy Harris (guy@xxxxxxxxxxxx):

    Put back EOF rule, but without exporting write_current_packet().
    
    Instead, add a new T_EOF token type, call parse_token() with it when we
    get an EOF, and, in parse_token(), write the current packet if we get a
    T_EOF token.
    
    That's a bit simpler, and would let us treat EOFs in different places
    differently, if, for example, we want to report warnings for
    half-finished packets.
    
    Change-Id: Ie41a8a1dedf91c34300468e073f18bf806e01892
    Reviewed-on: https://code.wireshark.org/review/32489
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  8b8fc66   NAS 5GS: Remove double dissection of  NAS key set identifier.
     add  38f348b   Put back EOF rule, but without exporting write_current_packet().


Summary of changes:
 ui/text_import.c         | 18 +++++++++++++++---
 ui/text_import_scanner.h |  3 ++-
 ui/text_import_scanner.l |  2 ++
 3 files changed, 19 insertions(+), 4 deletions(-)