Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#147 %top{ should be delimited by %}, not }

open
nobody
None
5
2012-12-11
2012-12-11
Derek
No

I wanted to begin a namespace in one %top block and end it in another, but there doesn’t seem to be a way to do this: For example,

%top {
namespace {
}
%%
%%
}

fails with
/tmp/x.l:1: premature EOF

It’s also more consistent to use “%}”.

Discussion