This is what appeared in the Syntax Error window:
parseFields: fieldSpec byteAlignment: byteAlign structure: structClass
| stream type name gen | stream := fieldSpec readStream. gen := NBFFICallout new requestor: structClass.
fields := Dictionary new. totalSize := 0. [ stream atEnd ] whileFalse: [ type := gen resolveType: stream next. name := stream next. name isSymbol ifFalse: [ self error: 'invalid field name']. fields at: name ifPresent: [ self error: 'duplicate field name' ]. fields at: name put: { type. totalSize }.
totalSize := totalSize + type storageSize. totalSize \ byteAlign > 0 ifTrue: [ totalSize := totalSize \ byteAlign + byteAlign ].
stream peek == #Invalid literal character ->; ifTrue: [ stream next ]. ].
On 9/30/11 9:20 AM, Igor Stasenko wrote: [...]
ok, then problem is in something else. Lawson, could you please paste the full method source with problematic code?