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
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Normann Rion
preprocessor
Commits
e3550a8f
Commit
e3550a8f
authored
Sep 4, 2018
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
Various fixes in comments
parent
3fd6858f
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
src/ModFile.hh
+1
-1
1 addition, 1 deletion
src/ModFile.hh
src/macro/MacroValue.hh
+3
-4
3 additions, 4 deletions
src/macro/MacroValue.hh
with
4 additions
and
5 deletions
src/ModFile.hh
+
1
−
1
View file @
e3550a8f
...
@@ -52,7 +52,7 @@ public:
...
@@ -52,7 +52,7 @@ public:
ExternalFunctionsTable
external_functions_table
;
ExternalFunctionsTable
external_functions_table
;
//! Numerical constants table
//! Numerical constants table
NumericalConstants
num_constants
;
NumericalConstants
num_constants
;
//! Var Model Table used for storing info about
trend component
models
//! Var Model Table used for storing info about
VAR
models
VarModelTable
var_model_table
;
VarModelTable
var_model_table
;
//! Trend Component Model Table used for storing info about trend component models
//! Trend Component Model Table used for storing info about trend component models
TrendComponentModelTable
trend_component_model_table
;
TrendComponentModelTable
trend_component_model_table
;
...
...
This diff is collapsed.
Click to expand it.
src/macro/MacroValue.hh
+
3
−
4
View file @
e3550a8f
...
@@ -73,7 +73,7 @@ public:
...
@@ -73,7 +73,7 @@ public:
//! Less comparison
//! Less comparison
/*! Returns an IntMV, equal to 0 or 1 */
/*! Returns an IntMV, equal to 0 or 1 */
virtual
shared_ptr
<
IntMV
>
is_less
(
const
MacroValuePtr
&
mv
)
noexcept
(
false
);
virtual
shared_ptr
<
IntMV
>
is_less
(
const
MacroValuePtr
&
mv
)
noexcept
(
false
);
//! Greater comparis
i
on
//! Greater comparison
/*! Returns an IntMV, equal to 0 or 1 */
/*! Returns an IntMV, equal to 0 or 1 */
virtual
shared_ptr
<
IntMV
>
is_greater
(
const
MacroValuePtr
&
mv
)
noexcept
(
false
);
virtual
shared_ptr
<
IntMV
>
is_greater
(
const
MacroValuePtr
&
mv
)
noexcept
(
false
);
//! Less or equal comparison
//! Less or equal comparison
...
@@ -202,7 +202,7 @@ public:
...
@@ -202,7 +202,7 @@ public:
shared_ptr
<
IntMV
>
is_equal
(
const
MacroValuePtr
&
mv
)
override
;
shared_ptr
<
IntMV
>
is_equal
(
const
MacroValuePtr
&
mv
)
override
;
//! Subscripting operator
//! Subscripting operator
/*! Argument must be an ArrayMV<int>. Indexes begin at 1.
/*! Argument must be an ArrayMV<int>. Indexes begin at 1.
If argument is a one-element array, returns
an IntMV or StringMV
.
If argument is a one-element array, returns
the corresponding array element
.
Otherwise returns an array. */
Otherwise returns an array. */
MacroValuePtr
subscript
(
const
MacroValuePtr
&
mv
)
noexcept
(
false
)
override
;
MacroValuePtr
subscript
(
const
MacroValuePtr
&
mv
)
noexcept
(
false
)
override
;
//! Returns a string containing the concatenation of string representations of elements
//! Returns a string containing the concatenation of string representations of elements
...
@@ -236,9 +236,8 @@ public:
...
@@ -236,9 +236,8 @@ public:
shared_ptr
<
IntMV
>
is_equal
(
const
MacroValuePtr
&
mv
)
override
;
shared_ptr
<
IntMV
>
is_equal
(
const
MacroValuePtr
&
mv
)
override
;
//! Subscripting operator
//! Subscripting operator
/*! Argument must be an ArrayMV<int>. Indexes begin at 1.
Returns a StringMV.
*/
/*! Argument must be an ArrayMV<int>. Indexes begin at 1. */
MacroValuePtr
subscript
(
const
MacroValuePtr
&
mv
)
noexcept
(
false
)
override
;
MacroValuePtr
subscript
(
const
MacroValuePtr
&
mv
)
noexcept
(
false
)
override
;
//! Returns underlying string value
string
toString
()
override
;
string
toString
()
override
;
string
print
()
override
;
string
print
()
override
;
shared_ptr
<
IntMV
>
length
()
noexcept
(
false
)
override
;
shared_ptr
<
IntMV
>
length
()
noexcept
(
false
)
override
;
...
...
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