Skip to content

Commit

Permalink
Merge pull request #13 from MadhukaHarith92/main
Browse files Browse the repository at this point in the history
Update scanDecimalDigit function variable as isolated
  • Loading branch information
MadhukaHarith92 committed May 26, 2023
2 parents 01f6e8f + 13415b5 commit 627facf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ballerina/modules/lexer/scan.bal
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ isolated function scanDigit(isolated function (string:Char char) returns boolean
# + state - Current lexer state
# + return - Return Value Description
isolated function scanDecimal(LexerState state) returns boolean|LexicalError {
function (LexerState) returns boolean|LexicalError scanDecimalDigit = scanDigit(patternDecimal);
isolated function (LexerState) returns boolean|LexicalError scanDecimalDigit = scanDigit(patternDecimal);
boolean|LexicalError digitOutput = scanDecimalDigit(state);

if digitOutput is boolean {
Expand Down

0 comments on commit 627facf

Please sign in to comment.