Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pugs
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
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
code
pugs
Commits
3a062a9e
Commit
3a062a9e
authored
5 years ago
by
Stéphane Del Pino
Browse files
Options
Downloads
Patches
Plain Diff
Do not catch exceptions when '-p' is used
parent
dbec65a8
No related branches found
No related tags found
1 merge request
!37
Feature/language
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/language/node_processor/BuiltinFunctionProcessor.hpp
+11
-4
11 additions, 4 deletions
src/language/node_processor/BuiltinFunctionProcessor.hpp
with
11 additions
and
4 deletions
src/language/node_processor/BuiltinFunctionProcessor.hpp
+
11
−
4
View file @
3a062a9e
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
#include
<language/node_processor/INodeProcessor.hpp>
#include
<language/node_processor/INodeProcessor.hpp>
#include
<language/utils/BuiltinFunctionEmbedder.hpp>
#include
<language/utils/BuiltinFunctionEmbedder.hpp>
#include
<utils/SignalManager.hpp>
class
BuiltinFunctionExpressionProcessor
final
:
public
INodeProcessor
class
BuiltinFunctionExpressionProcessor
final
:
public
INodeProcessor
{
{
private:
private:
...
@@ -59,6 +61,10 @@ class BuiltinFunctionProcessor : public INodeProcessor
...
@@ -59,6 +61,10 @@ class BuiltinFunctionProcessor : public INodeProcessor
m_argument_converters
[
i
]
->
convert
(
context_exec_policy
,
std
::
move
(
argument_values
[
i
]));
m_argument_converters
[
i
]
->
convert
(
context_exec_policy
,
std
::
move
(
argument_values
[
i
]));
}
}
}
}
if
(
SignalManager
::
pauseOnError
())
{
return
m_function_expression_processor
->
execute
(
context_exec_policy
);
}
else
{
try
{
try
{
return
m_function_expression_processor
->
execute
(
context_exec_policy
);
return
m_function_expression_processor
->
execute
(
context_exec_policy
);
}
}
...
@@ -66,6 +72,7 @@ class BuiltinFunctionProcessor : public INodeProcessor
...
@@ -66,6 +72,7 @@ class BuiltinFunctionProcessor : public INodeProcessor
throw
parse_error
(
e
.
what
(),
{
m_argument_node
.
begin
()});
throw
parse_error
(
e
.
what
(),
{
m_argument_node
.
begin
()});
}
}
}
}
}
BuiltinFunctionProcessor
(
ASTNode
&
argument_node
)
:
m_argument_node
{
argument_node
}
{}
BuiltinFunctionProcessor
(
ASTNode
&
argument_node
)
:
m_argument_node
{
argument_node
}
{}
};
};
...
...
This diff is collapsed.
Click to expand it.
Stéphane Del Pino
@delpino
mentioned in issue
#19 (closed)
·
4 years ago
mentioned in issue
#19 (closed)
mentioned in issue #19
Toggle commit list
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