Changeset 7c3fb9b in mainline for uspace/app/bdsh/tok.c


Ignore:
Timestamp:
2018-05-17T08:29:01Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/tok.c

    rfac0ac7 r7c3fb9b  
    9797        while ((next_char = tok_look_char(tok)) != 0) {
    9898                if (next_char == ' ') {
    99                         /* Push the token if there is any.
     99                        /*
     100                         * Push the token if there is any.
    100101                         * There may not be any pending char for a token in case
    101102                         * there are several spaces in the input.
     
    115116
    116117                } else if (next_char == '|') {
    117                         /* Pipes are tokens that are delimiters and should be
     118                        /*
     119                         * Pipes are tokens that are delimiters and should be
    118120                         * output as a separate token
    119121                         */
     
    137139                        }
    138140                } else if (next_char == '\'') {
    139                         /* A string starts with a quote (') and ends again with a quote.
     141                        /*
     142                         * A string starts with a quote (') and ends again with a quote.
    140143                         * A literal quote is written as ''
    141144                         */
     
    151154                                tok_start_token(tok, TOKTYPE_TEXT);
    152155                        }
    153                         /* If we are handling any other character, just append it to
     156                        /*
     157                         * If we are handling any other character, just append it to
    154158                         * the current token.
    155159                         */
Note: See TracChangeset for help on using the changeset viewer.