summaryrefslogtreecommitdiff
path: root/mk2rbc/variable.go
diff options
context:
space:
mode:
author Sasha Smundak <asmundak@google.com> 2021-11-05 14:38:46 -0700
committer Sasha Smundak <asmundak@google.com> 2021-11-05 14:42:41 -0700
commitc4fa93e76a7cac3fbb7c155301b56fd633aee2db (patch)
treefffe9cd5deb1d25c8c758ba6e39f5a78c451074b /mk2rbc/variable.go
parentd8b1998990d4aeebece44bbb91854950345e2e0b (diff)
Handle ifdef for local variables.
Fixes: 205337522 Test: internal Change-Id: Ib29654e76e8dc7c0982bfe0b471a1aca33935117
Diffstat (limited to 'mk2rbc/variable.go')
-rw-r--r--mk2rbc/variable.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk2rbc/variable.go b/mk2rbc/variable.go
index 4bb9ed52d..ded07fed6 100644
--- a/mk2rbc/variable.go
+++ b/mk2rbc/variable.go
@@ -177,8 +177,8 @@ type localVariable struct {
baseVariable
}
-func (lv localVariable) emitDefined(_ *generationContext) {
- panic("implement me")
+func (lv localVariable) emitDefined(gctx *generationContext) {
+ gctx.writef(lv.String())
}
func (lv localVariable) String() string {