ccomparini / fpl2cc

fpl parser generator language
https://ccomparini.github.io/fpl2cc/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

should be able to define reduce functions from backtick imports #11

Open ccomparini opened 2 months ago

ccomparini commented 2 months ago

I just had to write

@import 'json'.false_value
+false_value +{
    ...
}+

When I should have been able to write:

+``json``.false_value +{
    ...
}+`

The first gives error: Error src/optionizer/optionizer.fpl:40:2 near «``json``.false»: expected production name after '+'

json.false refers to a production just as well as a normal name would.