Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parser: changed get operator to create new token
modified get operator function to create new token and return a token pointer (shared pointer) only when a valid token is found else a default token pointer is returned; and cleaned up flow of this function changed call to get operator function in function operator function removed member token initialization and token member
- Loading branch information
1 parent
87e4ed4
commit 632ce89
Showing
2 changed files
with
34 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters