Changeset 9b20126 in mainline for uspace/lib/pcut/src/preproc.c
- Timestamp:
- 2014-09-19T08:23:01Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c85a57f
- Parents:
- 15d0046
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcut/src/preproc.c
r15d0046 r9b20126 91 91 } 92 92 93 int main( ) {93 int main(int argc, char *argv[]) { 94 94 FILE *input = stdin; 95 95 FILE *output = stdout; … … 98 98 identifier_t last_identifier; 99 99 100 /* Unused parameters. */ 101 (void) argc; 102 (void) argv; 103 100 104 while (1) { 105 int current_char_denotes_identifier; 106 101 107 int current_char = fgetc(input); 102 108 if (current_char == EOF) { … … 104 110 } 105 111 106 intcurrent_char_denotes_identifier = is_identifier_char(current_char, last_char_was_identifier);112 current_char_denotes_identifier = is_identifier_char(current_char, last_char_was_identifier); 107 113 if (current_char_denotes_identifier) { 108 114 if (!last_char_was_identifier) {
Note:
See TracChangeset
for help on using the changeset viewer.