View Issue Details

IDProjectCategoryView StatusLast Update
0000050LDMud 3.5LPC Compiler/Preprocessorpublic2009-11-04 18:12
ReporterlarsAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0000050: & binds stronger than struct lookup
DescriptionIn

  input_to("", 0, &room->exit);

the compiler complains that 'struct Room &' can't be used for member lookups. Reason is that & binds stronger than -> .

The current form of the compiler with its explicit spelling out of the reference productions prohibits any change of this behaviour - both the parser and the typetracking would need to get smarter to allow proper binding.

Testcase: t-040413
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2004-04-13 20:37 lars New Issue
2009-01-08 06:27 zesstra Project LDMud 3.3 => LDMud 3.5
2009-11-04 18:12 zesstra Projection none => redesign
2009-11-04 18:12 zesstra Category Compilation, Installation => LPC Compiler/Preprocessor
2009-11-04 18:12 zesstra ETA none => > 1 month