Attach pragma to idents. This change makes the parser more
simple, and also avoids 3 shift/reduce conflicts. It also make the pragma stuff more homogeneous and simple to explain in the manual. Moreover, pramgma are no more attached to AST nodes, but to lexemes.
Showing
- src/TODO 2 additions, 5 deletionssrc/TODO
- src/lxm.ml 12 additions, 5 deletionssrc/lxm.ml
- src/lxm.mli 4 additions, 1 deletionsrc/lxm.mli
- src/parser.mly 5 additions, 7 deletionssrc/parser.mly
- src/parserUtils.ml 5 additions, 3 deletionssrc/parserUtils.ml
- src/syntaxTreeCore.ml 1 addition, 2 deletionssrc/syntaxTreeCore.ml
- src/test/should_work/demo/Gyroscope2.lus 11 additions, 8 deletionssrc/test/should_work/demo/Gyroscope2.lus
- src/test/should_work/lionel/Gyroscope.lus 12 additions, 8 deletionssrc/test/should_work/lionel/Gyroscope.lus
- src/test/should_work/packEnvTest/contractForElementSelectionInArray/packageTableau.lus 2 additions, 1 deletion...est/contractForElementSelectionInArray/packageTableau.lus
Loading
Please register or sign in to comment