Changeset 4e6577c in mainline
- Timestamp:
- 2011-08-20T13:42:22Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c916dfc, e64df9a
- Parents:
- abf04a54 (diff), f41682c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace/app/bdsh
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/tok.c
rabf04a54 r4e6577c 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
rabf04a54 r4e6577c 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.