Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit46dfa5e

Browse files
committed
More spacing cleanups.
1 parentd63901c commit46dfa5e

File tree

1 file changed

+35
-35
lines changed
  • src/interfaces/ecpg/preproc

1 file changed

+35
-35
lines changed

‎src/interfaces/ecpg/preproc/pgc.l

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.139 2006/02/01 20:57:39 momjian Exp $
15+
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.140 2006/02/02 03:51:41 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -278,18 +278,18 @@ informix_special[\$]
278278
other.
279279

280280
/* some stuff needed for ecpg */
281-
exec[eE][xX][eE][cC]
282-
sql[sS][qQ][lL]
283-
define[dD][eE][fF][iI][nN][eE]
284-
include [iI][nN][cC][lL][uU][dD][eE]
281+
exec[eE][xX][eE][cC]
282+
sql[sS][qQ][lL]
283+
define[dD][eE][fF][iI][nN][eE]
284+
include[iI][nN][cC][lL][uU][dD][eE]
285285

286-
ifdef[iI][fF][dD][eE][fF]
287-
ifndef[iI][fF][nN][dD][eE][fF]
288-
else[eE][lL][sS][eE]
289-
elif[eE][lL][iI][fF]
290-
endif[eE][nN][dD][iI][fF]
286+
ifdef[iI][fF][dD][eE][fF]
287+
ifndef[iI][fF][nN][dD][eE][fF]
288+
else[eE][lL][sS][eE]
289+
elif[eE][lL][iI][fF]
290+
endif[eE][nN][dD][iI][fF]
291291

292-
struct[sS][tT][rR][uU][cC][tT]
292+
struct[sS][tT][rR][uU][cC][tT]
293293

294294
exec_sql{exec}{space}*{sql}{space}*
295295
ipdigit({digit}|{digit}{digit}|{digit}{digit}{digit})
@@ -323,32 +323,32 @@ cppline{space}*#(.*\\{space})*.*{newline}
323323

324324
<SQL>{whitespace}{/* ignore */ }
325325

326-
{xcstart}{
327-
token_start = yytext;
328-
state_before = YYSTATE;
329-
xcdepth =0;
330-
BEGIN(xc);
331-
/* Put back any characters past slash-star; see above */
332-
yyless(2);
333-
fputs("/*", yyout);
334-
}
335-
<xc>{xcstart}{
336-
xcdepth++;
337-
/* Put back any characters past slash-star; see above */
338-
yyless(2);
339-
fputs("/*", yyout);
340-
}
326+
{xcstart}{
327+
token_start = yytext;
328+
state_before = YYSTATE;
329+
xcdepth =0;
330+
BEGIN(xc);
331+
/* Put back any characters past slash-star; see above */
332+
yyless(2);
333+
fputs("/*", yyout);
334+
}
335+
<xc>{xcstart}{
336+
xcdepth++;
337+
/* Put back any characters past slash-star; see above */
338+
yyless(2);
339+
fputs("/*", yyout);
340+
}
341341

342-
<xc>{xcstop}{
343-
ECHO;
344-
if (xcdepth <=0)
345-
{
346-
BEGIN(state_before);
347-
token_start =NULL;
348-
}
349-
else
350-
xcdepth--;
342+
<xc>{xcstop}{
343+
ECHO;
344+
if (xcdepth <=0)
345+
{
346+
BEGIN(state_before);
347+
token_start =NULL;
351348
}
349+
else
350+
xcdepth--;
351+
}
352352

353353
<xc>{xcinside}{ ECHO; }
354354
<xc>{op_chars}{ ECHO; }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp