[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] maint: avoid syntax-check failure due to indentation via TABs
From: |
Jim Meyering |
Subject: |
[PATCH] maint: avoid syntax-check failure due to indentation via TABs |
Date: |
Mon, 19 Apr 2010 22:35:49 +0200 |
FYI,
>From b464ff9368acc72fdbe4cb749786028e78a66299 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Mon, 19 Apr 2010 22:35:22 +0200
Subject: [PATCH] maint: avoid syntax-check failure due to indentation via TABs
* src/dfa.c (atom): Expand TABs in indentation.
---
src/dfa.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/dfa.c b/src/dfa.c
index 34be712..7d39e5c 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -1569,23 +1569,23 @@ atom (void)
else if (tok == ANYCHAR && using_utf8())
{
/* For UTF-8 expand the period to a series of CSETs that define a valid
- UTF-8 character. This avoids using the slow multibyte path. I'm
- pretty sure it would be both profitable and correct to do it for
- any encoding; however, the optimization must be done manually as
- it is done above in add_utf8_anychar. So, let's start with
- UTF-8: it is the most used, and the structure of the encoding
- makes the correctness more obvious. */
+ UTF-8 character. This avoids using the slow multibyte path. I'm
+ pretty sure it would be both profitable and correct to do it for
+ any encoding; however, the optimization must be done manually as
+ it is done above in add_utf8_anychar. So, let's start with
+ UTF-8: it is the most used, and the structure of the encoding
+ makes the correctness more obvious. */
add_utf8_anychar();
tok = lex();
}
#endif /* MBS_SUPPORT */
else if ((tok >= 0 && tok < NOTCHAR) || tok >= CSET || tok == BACKREF
- || tok == BEGLINE || tok == ENDLINE || tok == BEGWORD
+ || tok == BEGLINE || tok == ENDLINE || tok == BEGWORD
#if MBS_SUPPORT
- || tok == ANYCHAR || tok == MBCSET
+ || tok == ANYCHAR || tok == MBCSET
#endif /* MBS_SUPPORT */
- || tok == ENDWORD || tok == LIMWORD || tok == NOTLIMWORD)
+ || tok == ENDWORD || tok == LIMWORD || tok == NOTLIMWORD)
{
addtok(tok);
tok = lex();
--
1.7.1.rc1.248.gcefbb
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] maint: avoid syntax-check failure due to indentation via TABs,
Jim Meyering <=