Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
dynare
Commits
2017b32f
Verified
Commit
2017b32f
authored
5 years ago
by
Houtan Bastani
Browse files
Options
Downloads
Patches
Plain Diff
fix bug in macro processor with short circuit operators || and &&
#1676
parent
8f78113b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
preprocessor
+1
-1
1 addition, 1 deletion
preprocessor
tests/example1_macro.mod
+4
-0
4 additions, 0 deletions
tests/example1_macro.mod
with
5 additions
and
1 deletion
preprocessor
@
8dc70602
Compare
5c081db7
...
8dc70602
Subproject commit
5c081db76f480a508d856d06f9703d69ec857107
Subproject commit
8dc70602c8122622406a146bf28e486f553768bc
This diff is collapsed.
Click to expand it.
tests/example1_macro.mod
+
4
−
0
View file @
2017b32f
...
...
@@ -218,5 +218,9 @@ stoch_simul;
@#error "Error in cast of string to bool"
@#endif
@#if !(true || "A") || (0 && "A")
@#error "problem with short circuit || or && operator"
@#endif
@#echomacrovars(save)
@#echomacrovars
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment