diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/yacco2/diagrams/arbitrator.txt |
Initial commit
Diffstat (limited to 'web/yacco2/diagrams/arbitrator.txt')
-rw-r--r-- | web/yacco2/diagrams/arbitrator.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/web/yacco2/diagrams/arbitrator.txt b/web/yacco2/diagrams/arbitrator.txt new file mode 100644 index 0000000000..5a24b1fa9a --- /dev/null +++ b/web/yacco2/diagrams/arbitrator.txt @@ -0,0 +1,25 @@ +,parallel-control-monitor{ + arbitrator-code + // arbitration + // between + // x y winner + // identifier keyword keyword + // fp no integer fp no + // + using namespace NS_pas_T_enum; + { + for(i=1;i<=ie;++i){ + if(To_judge->pp_accept_queue__[i].accept_token__->enumerated_id__ + == NS_pas_T_enum::T_Enum::T_T_keyword_){ + goto arbitrated_parameter; + } + } + for(i=1;i<=ie;++i){ + if(To_judge->pp_accept_queue__[i].accept_token__->enumerated_id__ + == NS_pas_T_enum::T_Enum::T_T_fp_pt_no_){ + goto arbitrated_parameter; + } + } + } + *** + } |