From 896c96134f47945c497a1a9f38d3d28ca43f119a Mon Sep 17 00:00:00 2001 From: Araq Date: Fri, 14 Feb 2014 02:02:01 +0100 Subject: fixes #892 --- compiler/lookups.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler') diff --git a/compiler/lookups.nim b/compiler/lookups.nim index c31eb3121..93a7b7c72 100644 --- a/compiler/lookups.nim +++ b/compiler/lookups.nim @@ -32,6 +32,7 @@ proc considerAcc*(n: PNode): PIdent = of nkSym: id.add(x.sym.name.s) else: globalError(n.info, errIdentifierExpected, renderTree(n)) result = getIdent(id) + of nkOpenSymChoice, nkClosedSymChoice: result = n.sons[0].sym.name else: globalError(n.info, errIdentifierExpected, renderTree(n)) -- cgit 1.4.1-2-gfad0 296848d78'/> Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log tree commit diff stats
path: root/cpp/.traces/get_indirect
blob: 4a276e98b680cc9a8e4289c227560a1a85c345dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42