Skip to content

Commit

Permalink
added working_set token
Browse files Browse the repository at this point in the history
  • Loading branch information
reb-ddm committed Feb 12, 2025
1 parent 9474b57 commit c3b947d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/grammar/klexer4.mll
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ rule token = parse
| "def" -> CONFIG
| "token" -> TOKEN
| "guard_param" -> GUARD_PARAM
| "working_set" -> WORKING_SET
| "conflict" -> CONFLICT
| _ as s -> raise (ExceptionDefn.Syntax_Error
("Unknown directive: "^s,
Expand Down
2 changes: 1 addition & 1 deletion core/grammar/kparser4.mly
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
%token SHARP UNDERSCORE PIPE RAR LRAR LAR EMAX TMAX CPUTIME TIME EVENT NULL_EVENT
%token COLON NEWLINE BACKSLASH SIGNATURE TOKEN INIT OBS PLOT PERT CONFIG APPLY
%token DELETE INTRO SNAPSHOT STOP FLUX TRACK ASSIGN PRINTF PLOTENTRY SPECIES_OF
%token DO REPEAT ALARM RUN LET GUARD_PARAM SHARP_OP_BRA IF CONFLICT
%token DO REPEAT ALARM RUN LET GUARD_PARAM SHARP_OP_BRA IF CONFLICT WORKING_SET
%token <int> INT
%token <float> FLOAT
%token <string> ID LABEL STRING
Expand Down

0 comments on commit c3b947d

Please sign in to comment.