[PPL-devel] [GIT] ppl/ppl(master): Typo fixed.

Roberto Bagnara roberto.bagnara at bugseng.com
Sat Jun 25 16:16:00 CEST 2016


Module: ppl/ppl
Branch: master
Commit: 8ad9e3f3d504e3ac7568214b3635265e79b363a4
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=8ad9e3f3d504e3ac7568214b3635265e79b363a4

Author: Roberto Bagnara <roberto.bagnara at bugseng.com>
Date:   Sat Jun 25 16:15:18 2016 +0200

Typo fixed.
Found by ECLAIR service B.BUGFIND.

---

 src/checked.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/checked.cc b/src/checked.cc
index aa0c3e4..e0ff844 100644
--- a/src/checked.cc
+++ b/src/checked.cc
@@ -194,7 +194,7 @@ parse_number_part(std::istream& is, number_struct& numer) {
     if (!is.get(c)) {
       return V_CVT_STR_UNK;
     }
-    if (c != 'n' && c != 'n') {
+    if (c != 'n' && c != 'N') {
       goto unexpected_char;
     }
     if (!is.get(c)) {




More information about the PPL-devel mailing list