1. 12 Jan, 2003 5 commits
    • Niels Möller's avatar
      * tools/sexp-conv.c (struct sexp_input): Deleted string attribute. · 5211a9bd
      Niels Möller authored
      Changed all related functions to take a struct nettle_buffer *
      argument instead.
      (struct sexp_compound_token): New struct.
      (sexp_compound_token_init, sexp_compound_token_clear): New
      functions.
      (struct sexp_parser): Added a struct sexp_compound_token
      attribute, as a temporary measure.
      
      Rev: src/nettle/tools/sexp-conv.c:1.11
      5211a9bd
    • Niels Möller's avatar
      * tools/sexp-conv.c (struct sexp_parser): Renamed struct (was · 324d0d2f
      Niels Möller authored
      struct sexp_parse_state). Added input pointer. Updated users to
      not pass around both parser and input.
      (sexp_check_token): handle token == 0.
      (sexp_parse): Simplified a little by calling sexp_check_token
      unconditionally.
      
      * tools/sexp-conv.c (sexp_convert_string): Deleted function.
      (sexp_skip_token): Likewise.
      
      * tools/sexp-conv.c (enum sexp_token): New constant SEXP_DISPLAY.
      Start constants from 1, to keep 0 free for special uses.
      (struct sexp_parse_state): New struct for keeping track of parser
      state.
      (sexp_parse_init): New function.
      (sexp_check_token): New function, replacing sexp_skip_token.
      (sexp_parse): New function.
      (sexp_convert_item): Simplified by using sexp_parse.
      (sexp_convert_list): Use sexp_parse.
      (main): Likewise.
      
      Rev: src/nettle/tools/sexp-conv.c:1.10
      324d0d2f
    • Niels Möller's avatar
      (struct sexp_parser): Renamed struct (was struct · 868e8594
      Niels Möller authored
      sexp_parse_state). Added input pointer. Updated users to not pass
      around both parser and input.
      
      Rev: src/nettle/tools/sexp-conv.c:1.9
      868e8594
    • Niels Möller's avatar
      * tools/sexp-conv.c (sexp_convert_string): Deleted function. · b6730a37
      Niels Möller authored
      (sexp_skip_token): Likewise.
      
      * tools/sexp-conv.c (enum sexp_token): New constant SEXP_DISPLAY.
      Start constants from 1, to keep 0 free for special uses.
      (struct sexp_parse_state): New struct for keeping track of parser
      state.
      (sexp_parse_init): New function.
      (sexp_check_token): New function, replacing sexp_skip_token.
      (sexp_parse): New function.
      (sexp_convert_item): Simplified by using sexp_parse.
      (sexp_convert_list): Use sexp_parse.
      (main): Likewise.
      
      Rev: src/nettle/tools/sexp-conv.c:1.8
      b6730a37
    • Niels Möller's avatar
      (enum sexp_token): New constant SEXP_DISPLAY. · 9becaa0c
      Niels Möller authored
      Start constants from 1, to keep 0 free for special uses.
      (struct sexp_parse_state): New struct for keeping track of parser
      state.
      (sexp_parse_init): New function.
      (sexp_check_token): New function, replacing sexp_skip_token.
      (sexp_parse): New function.
      (sexp_convert_item): Simplified by using sexp_parse.
      (sexp_convert_list): Use sexp_parse.
      (main): Likewise.
      
      Rev: src/nettle/tools/sexp-conv.c:1.7
      9becaa0c
  2. 10 Jan, 2003 14 commits
  3. 09 Jan, 2003 9 commits
  4. 08 Jan, 2003 11 commits
  5. 07 Jan, 2003 1 commit