summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2008-02-12 21:29:33 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2008-02-12 21:29:33 +0000
commit8b8bf8e68f19cdbe07521fa2d3c563265b27bd94 (patch)
treee3afb72291494452d1a427730c1a32a4eb3625d6 /src/syntax.c
parentf1c996283840d0a9fd60c90f1a9e2aa2a82251a4 (diff)
downloademacs-8b8bf8e68f19cdbe07521fa2d3c563265b27bd94.tar.gz
(scan_lists): Follow coding convention.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 648d7495db6..aa716a5aef0 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -2501,7 +2501,8 @@ scan_lists (from, count, depth, sexpflag)
{
case Sescape:
case Scharquote:
- if (from == stop) goto lose;
+ if (from == stop)
+ goto lose;
INC_BOTH (from, from_byte);
/* treat following character as a word constituent */
case Sword:
@@ -2520,7 +2521,8 @@ scan_lists (from, count, depth, sexpflag)
case Scharquote:
case Sescape:
INC_BOTH (from, from_byte);
- if (from == stop) goto lose;
+ if (from == stop)
+ goto lose;
break;
case Sword:
case Ssymbol:
@@ -2586,7 +2588,8 @@ scan_lists (from, count, depth, sexpflag)
stringterm = FETCH_CHAR_AS_MULTIBYTE (temp_pos);
while (1)
{
- if (from >= stop) goto lose;
+ if (from >= stop)
+ goto lose;
UPDATE_SYNTAX_TABLE_FORWARD (from);
c = FETCH_CHAR_AS_MULTIBYTE (from_byte);
if (code == Sstring
@@ -2615,7 +2618,8 @@ scan_lists (from, count, depth, sexpflag)
}
/* Reached end of buffer. Error if within object, return nil if between */
- if (depth) goto lose;
+ if (depth)
+ goto lose;
immediate_quit = 0;
return Qnil;
@@ -2750,7 +2754,8 @@ scan_lists (from, count, depth, sexpflag)
case Sstring_fence:
while (1)
{
- if (from == stop) goto lose;
+ if (from == stop)
+ goto lose;
DEC_BOTH (from, from_byte);
UPDATE_SYNTAX_TABLE_BACKWARD (from);
if (!char_quoted (from, from_byte)
@@ -2765,7 +2770,8 @@ scan_lists (from, count, depth, sexpflag)
stringterm = FETCH_CHAR_AS_MULTIBYTE (from_byte);
while (1)
{
- if (from == stop) goto lose;
+ if (from == stop)
+ goto lose;
DEC_BOTH (from, from_byte);
UPDATE_SYNTAX_TABLE_BACKWARD (from);
if (!char_quoted (from, from_byte)
@@ -2783,7 +2789,8 @@ scan_lists (from, count, depth, sexpflag)
}
/* Reached start of buffer. Error if within object, return nil if between */
- if (depth) goto lose;
+ if (depth)
+ goto lose;
immediate_quit = 0;
return Qnil;