FsLexYacc icon indicating copy to clipboard operation
FsLexYacc copied to clipboard

%% Trailer seems not supported

Open fxf06 opened this issue 2 years ago • 0 comments

Description

FSyacc ignores code after the last %%

Repro steps

Write a single grammar and add %% at the end and some code.

Expected behavior

I would expect, like with ocamlyacc, to have the added code in the generated code

Actual behavior

The code added in the trailer does not appear

Known workarounds

Wrap my parser in an other module.

fxf06 avatar Jul 29 '22 14:07 fxf06