Changeset f41682c in mainline
- Timestamp:
- 2011-08-20T13:36:49Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 22cf42d9, 4e6577c
- Parents:
- b2727f18
- Location:
- uspace/app/bdsh
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/tok.c
rb2727f18 rf41682c 224 224 wchar_t tok_look_char(tokenizer_t *tok) 225 225 { 226 unsigned int old_offset = tok->in_offset;227 unsigned int old_char_offset = tok->in_char_offset;226 size_t old_offset = tok->in_offset; 227 size_t old_char_offset = tok->in_char_offset; 228 228 wchar_t ret = tok_get_char(tok); 229 229 tok->in_offset = old_offset; -
uspace/app/bdsh/tok.h
rb2727f18 rf41682c 38 38 typedef struct { 39 39 char *text; 40 unsigned int byte_start;41 unsigned int char_start;40 size_t byte_start; 41 size_t char_start; 42 42 size_t byte_length; 43 43 size_t char_length; … … 47 47 typedef struct { 48 48 char *in; 49 unsigned int in_offset;50 unsigned int last_in_offset;51 unsigned int in_char_offset;52 unsigned int last_in_char_offset;49 size_t in_offset; 50 size_t last_in_offset; 51 size_t in_char_offset; 52 size_t last_in_char_offset; 53 53 54 54 char *outbuf;
Note:
See TracChangeset
for help on using the changeset viewer.