scanaut: add missing braces to please -Wdangling-else
* spot/parseaut/scanaut.ll: here.
This commit is contained in:
parent
092e3630f4
commit
e471d4e67d
1 changed files with 7 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
/* -*- coding: utf-8 -*-
|
/* -*- coding: utf-8 -*-
|
||||||
** Copyright (C) 2014, 2015 Laboratoire de Recherche et Développement
|
** Copyright (C) 2014, 2015, 2016 Laboratoire de Recherche et Développement
|
||||||
** de l'Epita (LRDE).
|
** de l'Epita (LRDE).
|
||||||
**
|
**
|
||||||
** This file is part of Spot, a model checking library.
|
** This file is part of Spot, a model checking library.
|
||||||
|
|
@ -208,10 +208,12 @@ identifier [[:alpha:]_][[:alnum:]_.-]*
|
||||||
lbtt_t = false;
|
lbtt_t = false;
|
||||||
if (end)
|
if (end)
|
||||||
while (int c = *end++)
|
while (int c = *end++)
|
||||||
if (c == 's')
|
{
|
||||||
lbtt_s = true;
|
if (c == 's')
|
||||||
else // c == 't'
|
lbtt_s = true;
|
||||||
lbtt_t = true;
|
else // c == 't'
|
||||||
|
lbtt_t = true;
|
||||||
|
}
|
||||||
if (!lbtt_t)
|
if (!lbtt_t)
|
||||||
lbtt_s = true;
|
lbtt_s = true;
|
||||||
if (lbtt_states == 0)
|
if (lbtt_states == 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue