From: Ben Pfaff Date: Wed, 16 Jun 2010 05:27:13 +0000 (-0700) Subject: lexer: Fix funny indentation. X-Git-Tag: v0.7.6~360 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=882f1af2718defe8917d64972e73adb0d0bcd059;p=pspp-builds.git lexer: Fix funny indentation. --- diff --git a/src/language/lexer/lexer.c b/src/language/lexer/lexer.c index 317aac73..bad35be8 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++;