From: Ben Pfaff Date: Wed, 16 Jun 2010 05:27:13 +0000 (-0700) Subject: lexer: Fix funny indentation. X-Git-Tag: sav-api~180 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fbuilds%2F20100616040508%2Fpspp;p=pspp lexer: Fix funny indentation. --- diff --git a/src/language/lexer/lexer.c b/src/language/lexer/lexer.c index 317aac73e6..bad35be8a1 100644 --- a/src/language/lexer/lexer.c +++ b/src/language/lexer/lexer.c @@ -176,19 +176,19 @@ lex_get (struct lexer *lexer) return; } - /* If a token was pushed ahead, return it. */ - if (lexer->put_token) - { - restore_token (lexer); + /* If a token was pushed ahead, return it. */ + if (lexer->put_token) + { + restore_token (lexer); #if DUMP_TOKENS dump_token (lexer); #endif - return; - } + return; + } - for (;;) - { - /* Skip whitespace. */ + for (;;) + { + /* Skip whitespace. */ while (c_isspace ((unsigned char) *lexer->prog)) lexer->prog++;