mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
The libeval grammar can now be rebuilt with "make libeval_grammar". This is only possible when lemon is installed. Also a couple of modifications to the lemon grammar to account for external changes since the grammer was last generated. Also move the grammar defines into grammar.h - this is how Lemon produces them, and by manually copying into the target .cpp, it make automated regeneration impossible.
13 lines
504 B
C
13 lines
504 B
C
#define VAR 1
|
|
#define ASSIGN 2
|
|
#define SEMCOL 3
|
|
#define PLUS 4
|
|
#define MINUS 5
|
|
#define UNIT 6
|
|
#define DIVIDE 7
|
|
#define MULT 8
|
|
#define ENDS 9
|
|
#define VALUE 10
|
|
#define PARENL 11
|
|
#define PARENR 12
|