Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
b987e06e
Commit
b987e06e
authored
Aug 11, 2014
by
dbarbera
Browse files
Raise compile error in unsupported cases
parent
e4e9bcba
Changes
1
Hide whitespace changes
Inline
Side-by-side
LlvmGenerator.py
View file @
b987e06e
...
...
@@ -151,7 +151,7 @@ class Context():
elif
basic_asn1ty
.
kind
in
(
'StringType'
,
'StandardStringType'
):
llty
=
self
.
i8_ptr
else
:
raise
NotI
mple
mentedError
raise
Co
mp
i
le
Error
(
'Unknown basic ASN.1 type "%s"'
%
basic_asn1ty
.
kind
)
if
name
:
self
.
lltypes
[
name
]
=
llty
...
...
@@ -1138,8 +1138,8 @@ def _expr_append(expr, ctx):
return
res_ptr
else
:
raise
NotImplementedError
raise
CompileError
(
'Type "%s" not supported in append expressions'
%
basic_asn1ty
.
kind
)
@
expression
.
register
(
ogAST
.
ExprIn
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment