mirror of
https://github.com/Alvin-Zilverstand/femcode.git
synced 2026-11-30 17:17:50 +01:00
feat: Implement dictionaries and property access
This commit is contained in:
1 parent
08bb1f7a66
commit
eb1ce52074
1 file changed
+1
-1
+1
-1
@@ -274,7 +274,7 @@ class Parser:
|
||||
return self.parse_function_call(token)
|
||||
elif next_token.type == 'DOT':
|
||||
# It's a property access
|
||||
return self.parse_property_access(Variable(token)) # Pass Variable node as target
|
||||
return self.parse_property_access(Variable(token))
|
||||
elif next_token.type == 'LBRACKET':
|
||||
# It's an index access
|
||||
return self.parse_index_access(Variable(token))
|
||||
|
||||
Reference in new issue
Block a user