projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eac86b
)
lexer: Fix funny indentation.
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 16 Jun 2010 05:27:13 +0000
(22:27 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 16 Jun 2010 05:27:13 +0000
(22:27 -0700)
src/language/lexer/lexer.c
patch
|
blob
|
history
diff --git
a/src/language/lexer/lexer.c
b/src/language/lexer/lexer.c
index 317aac73e66354ad12e4c20bd69abcf1a223159a..bad35be8a1450b8f381c072cb073e4b9b04d59a1 100644
(file)
--- 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++;