This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-merge pull request #7544 from runrevmark/bugfix-23149
[[ Bug 23149 ]] Replace mode syntax factory functions This patch replaces the current mode syntax factory functions: `MCModeNewCommand` and `MCModeNewFunction` with a more general mechanism based around instantiating a class as a global-variable, constructed using a syntax factory function pointer. There are three global classes which can be instantiated in this manner - `MCNewStatementFactory`, `MCNewFunctionFactory` and `MCNewOperatorFactory` - corresponding to the top-level factory functions `MCN_new_statement`, `MCN_new_function` and `MCN_new_operator`. The classes 'hide' a linked list of factory functions, which are invoked in turn if the top-level functions do not recognise an id. Closes https://quality.livecode.com/show_bug.cgi?id=23149
- Loading branch information
Showing
7 changed files
with
164 additions
and
64 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
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
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
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