summaryrefslogtreecommitdiff
path: root/testAutomata.c
diff options
context:
space:
mode:
Diffstat (limited to 'testAutomata.c')
-rw-r--r--testAutomata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testAutomata.c b/testAutomata.c
index 6c4de90..2f575ce 100644
--- a/testAutomata.c
+++ b/testAutomata.c
@@ -70,10 +70,10 @@ testRegexpFile(const char *filename) {
continue;
len = strlen(expr);
len--;
- while ((len >= 0) &&
+ while ((len >= 0) &&
((expr[len] == '\n') || (expr[len] == '\t') ||
(expr[len] == '\r') || (expr[len] == ' '))) len--;
- expr[len + 1] = 0;
+ expr[len + 1] = 0;
if (len >= 0) {
if ((am != NULL) && (expr[0] == 't') && (expr[1] == ' ')) {
char *ptr = &expr[2];