fsprojects / FsLexYacc

Lexer and parser generators for F#
http://fsprojects.github.io/FsLexYacc/
MIT License
207 stars 69 forks source link

%% Trailer seems not supported #164

Open fxf06 opened 2 years ago

fxf06 commented 2 years ago

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.