You've already forked lazarus-ccr
fpspreadsheet: Add underscore character ('_') to the list of allowed identifier characters to get a decent error message when a worksheet contains one of the (unsupported) new Excel formulas beginning with this character. Issue #38762.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8000 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -1389,7 +1389,7 @@ begin
|
|||||||
Result := DoNumber
|
Result := DoNumber
|
||||||
else if (C = cError) then
|
else if (C = cError) then
|
||||||
Result := DoError
|
Result := DoError
|
||||||
else if IsAlpha(C) or (C = '$') or (C = '''') then
|
else if IsAlpha(C) or (C = '$') or (C = '''') or (C = '_') then
|
||||||
Result := DoIdentifier
|
Result := DoIdentifier
|
||||||
else
|
else
|
||||||
ScanError(Format(rsUnknownCharacter, [FPos, C]));
|
ScanError(Format(rsUnknownCharacter, [FPos, C]));
|
||||||
|
Reference in New Issue
Block a user