Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
51e4e490
Commit
51e4e490
authored
Oct 03, 2013
by
Houtan Bastani
Browse files
remove unnecessary test
parent
d9e6985e
Changes
1
Hide whitespace changes
Inline
Side-by-side
preprocessor/Statement.cc
View file @
51e4e490
...
...
@@ -123,10 +123,6 @@ NativeStatement::computingPass()
}
lastidx
=
apostrophes
[
i
];
}
//Replace last (or only) element
if
(
apostrophes
.
empty
())
lastidx
=
0
;
newstr
.
append
(
regex_replace
(
native_statement
.
substr
(
lastidx
,
native_statement
.
size
()
-
lastidx
),
date_expr
,
format
));
native_statement
=
newstr
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment