nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src: update AST client to handle qualified identifiers (no semantic change)
[nit.git]
/
src
/
ffi
/
c_compiler_options.nit
diff --git
a/src/ffi/c_compiler_options.nit
b/src/ffi/c_compiler_options.nit
index
1618f9e
..
8bb2e44
100644
(file)
--- a/
src/ffi/c_compiler_options.nit
+++ b/
src/ffi/c_compiler_options.nit
@@
-68,7
+68,7
@@
private class CCompilerOptionsPhase
else if expr isa ACallExpr then
# We support calls to "exec" only
var exec_args = expr.n_args.to_a
else if expr isa ACallExpr then
# We support calls to "exec" only
var exec_args = expr.n_args.to_a
- if expr.n_id.text != "exec" or exec_args.is_empty then
+ if expr.n_qid.n_id.text != "exec" or exec_args.is_empty then
modelbuilder.error(nat, "Syntax Error: `{annotation_name}` accepts only calls to `exec` with the command as arguments.")
return
end
modelbuilder.error(nat, "Syntax Error: `{annotation_name}` accepts only calls to `exec` with the command as arguments.")
return
end