Ending dot interfered with numeric decimal
This commit is contained in:
@ -375,11 +375,20 @@ namespace CobXmlSupport
|
||||
}
|
||||
}
|
||||
if (tmpStr.Length > 0)
|
||||
{
|
||||
if (tmpStr.Length > 1 && tmpStr.Substring(tmpStr.Length - 1, 1) == ".")
|
||||
{
|
||||
__wordList.Add(new RowWord(tmpStr.Substring(0, tmpStr.Length - 1), wrdStart, false));
|
||||
tmpStr = "";
|
||||
wrdStart = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
__wordList.Add(new RowWord(tmpStr, wrdStart, false));
|
||||
tmpStr = "";
|
||||
wrdStart = 0;
|
||||
}
|
||||
}
|
||||
if (__wordList.Count > 0)
|
||||
{
|
||||
RowWord e = __wordList.First();
|
||||
|
||||
@ -355,7 +355,7 @@ namespace CobXmlSupport
|
||||
}
|
||||
return strCobCode;
|
||||
}
|
||||
|
||||
//xxxxxxxxxxxxxxxhär sker detxxxxxxxxxxxxxxx
|
||||
private string valueChecker(string strLDisp, string strLStdValue, string strCobCode)
|
||||
{
|
||||
if (chkValues.Checked)
|
||||
@ -523,6 +523,7 @@ namespace CobXmlSupport
|
||||
outText.Text += "\r\n" + wrkStr;
|
||||
}
|
||||
|
||||
//xxxxxxxxxxxxxxxxx här är jag xxxxxxxxxxx
|
||||
|
||||
/// <summary>
|
||||
/// Creates a CobRow object from a cobol declaration text
|
||||
@ -671,7 +672,7 @@ namespace CobXmlSupport
|
||||
btnTestThings.Visible = S.ettingSpecials;
|
||||
|
||||
formLoading = false;
|
||||
cmbLastFile.Text = cmbLastFile.Items[0].ToString();
|
||||
// cmbLastFile.Text = cmbLastFile.Items[0].ToString();
|
||||
}
|
||||
|
||||
private void btnClose_Click(object sender, EventArgs e)
|
||||
@ -709,7 +710,7 @@ namespace CobXmlSupport
|
||||
}
|
||||
if (occParRows.Length > 0)
|
||||
{
|
||||
genCode.CodeShower.Text += occParRows + " )\r\n";
|
||||
genCode.CodeShower.Text += " (" + occParRows + " )\r\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1111,7 +1112,7 @@ namespace CobXmlSupport
|
||||
}
|
||||
if (occParRows.Length > 0)
|
||||
{
|
||||
genMoves.CodeShower.Text += occParRows + " )\r\n";
|
||||
genMoves.CodeShower.Text += " (" + occParRows + " )\r\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1175,13 +1176,13 @@ namespace CobXmlSupport
|
||||
genExtMoves.CodeShower.Text += "\r\n MOVE 0 TO " + cr.CountIn;
|
||||
if (occParRows.Length > 0)
|
||||
{
|
||||
genExtMoves.CodeShower.Text += occParRows + " )";
|
||||
genExtMoves.CodeShower.Text += " (" + occParRows + " )";
|
||||
}
|
||||
|
||||
genExtMoves.CodeShower.Text += "\r\n IF " + cr.CountIn;
|
||||
if (occParRows.Length > 0)
|
||||
{
|
||||
genExtMoves.CodeShower.Text += occParRows + " )";
|
||||
genExtMoves.CodeShower.Text += " (" + occParRows + " )";
|
||||
}
|
||||
|
||||
genExtMoves.CodeShower.Text += "\r\n > 0";
|
||||
|
||||
Reference in New Issue
Block a user