Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
preprocessor
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
Sébastien Villemot
preprocessor
Commits
372d5d1a
Verified
Commit
372d5d1a
authored
5 months ago
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
Parser: minor simplification related to dates
parent
c1381f1d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/DynareBison.yy
+2
-4
2 additions, 4 deletions
src/DynareBison.yy
with
2 additions
and
4 deletions
src/DynareBison.yy
+
2
−
4
View file @
372d5d1a
...
...
@@ -222,7 +222,7 @@ str_tolower(string s)
%type <expr_t> expression expression_or_empty
%type <expr_t> equation hand_side
%type <string> non_negative_number signed_number signed_integer
date_str
%type <string> non_negative_number signed_number signed_integer
%type <string> filename symbol namespace_qualified_filename namespace_qualified_symbol
%type <string> date_expr signed_inf signed_number_w_inf range
%type <string> integer_range signed_integer_range boolean
...
...
@@ -2093,9 +2093,7 @@ prior_pdf : BETA_PDF
{ $$ = PriorDistributions::weibull; }
;
date_str : DATES
date_expr : date_str
date_expr : DATES
| date_expr PLUS INT_NUMBER
{ $$ = $1 + '+' + $3; }
;
...
...
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