lua-users home
lua-l archive

Re: LPEG User defined patten handler collection callback

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Damn, I just realised this patch doesn't work.
The lpeg VM copies around the instructions, which can result in the
above patch doing multiple gcs, or missing them completely.
Can anyone think of a nice way to manage this? I'm thinking add
another field that does reference counting.....
D

AltStyle によって変換されたページ (->オリジナル) /