-
Notifications
You must be signed in to change notification settings - Fork 629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optscript: bug fix, new operators, refactoring #3028
optscript: bug fix, new operators, refactoring #3028
Conversation
Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
The original code updates only the lineNumber member of the tag entry. Signed-off-by: Masatake YAMATO <[email protected]>
_tagloc takes a corkQueue index and pushes a mloc object locating the tag object identified by the corkQueue index. Signed-off-by: Masatake YAMATO <[email protected]>
… notation Signed-off-by: Masatake YAMATO <[email protected]>
forall operators has array, dict, and string backends. Unify the similar code in the backends into one. Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
The original code has code a bug; the inputStart and inputEnd events propagate only to direct sub parsers. Thes event never propagate to sub sub parsers. This change fixe this. The events are propagated recursively in base/sub parser relations. The ways to run prelude/sequel codes and propagate inputStart/End events are unified. As the result a optlib parser running as a sub parser of another optlib parser can run its prelude/sequel codes. Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
… the window Signed-off-by: Masatake YAMATO <[email protected]>
…om the window Signed-off-by: Masatake YAMATO <[email protected]>
…efintions A for loop was used for the iteration. The original code used XTAG_COUNT as the limit of the loop counter. However, the contestant doesn't consider dynamically allocated parser-specific xtags. The new code uses countXtags() that considers dynamically allocated parser-specific xtags. Signed-off-by: Masatake YAMATO <[email protected]>
…hooks Signed-off-by: Masatake YAMATO <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #3028 +/- ##
========================================
Coverage 87.32% 87.32%
========================================
Files 199 199
Lines 47450 47595 +145
========================================
+ Hits 41434 41564 +130
- Misses 6016 6031 +15
Continue to review full report at Codecov.
|
This is a preparation pull request for mering #3027.
The last commit of #3027 includes a critical bug. So the running the test cases fails.
This pull requests includes all commits other than the last one.
All changes are useful even if we don't merge #3027.