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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Stéphane Adjemian
dynare
Commits
cb0e84a2
Verified
Commit
cb0e84a2
authored
5 years ago
by
Houtan Bastani
Browse files
Options
Downloads
Patches
Plain Diff
submodule update: preprocessor
parent
98c2152e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
preprocessor
+1
-1
1 addition, 1 deletion
preprocessor
tests/example1_macro.mod
+6
-1
6 additions, 1 deletion
tests/example1_macro.mod
with
7 additions
and
2 deletions
preprocessor
@
e5121176
Compare
a3e63101
...
e5121176
Subproject commit
a3e63101f4fcacbe6a4f3ed98849215cecda1e7d
Subproject commit
e5121176a91a6105ab07b1bc7a0be18f3757f029
This diff is collapsed.
Click to expand it.
tests/example1_macro.mod
+
6
−
1
View file @
cb0e84a2
...
@@ -157,6 +157,11 @@ stoch_simul;
...
@@ -157,6 +157,11 @@ stoch_simul;
@#error "String comparison"
@#error "String comparison"
@#endif
@#endif
@#define A = "La crise conomique"
@#if A[1,8,3,7,4,10,13,2,5,16,12,9,11,14,15,6,17:19] != "Le scnario comique"
@#error "Problem with string indexing/comparison"
@#endif
@#define f(x) = x + "C"
@#define f(x) = x + "C"
@#if "A" + f("B") != "ABC"
@#if "A" + f("B") != "ABC"
@#error "Problem with String concatenation"
@#error "Problem with String concatenation"
...
...
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