Skip to content

Commit

Permalink
fix initializer action
Browse files Browse the repository at this point in the history
  • Loading branch information
cotto committed Feb 28, 2011
1 parent 10a2a6b commit 67245f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compilers/opsc/src/Ops/Compiler/Actions.pm
Expand Up @@ -371,7 +371,7 @@ method declarator ($/) {
:vivibase(~$<type_declarator>),
);

$decl.viviself($_<statement>[0].ast) if $_<statement>[0];
$decl.viviself($_<EXPR>[0].ast) if $_<EXPR>[0];

$decl<array_size> := ~$_<array_size><VALUE> if $_<array_size>;
$past.push($decl);
Expand Down

0 comments on commit 67245f8

Please sign in to comment.