1 /*
2 * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17
18 /** \file
19 \brief Empty semantic analyzer routines which process types
20 in executable statements.
21 */
22
23 #include "gbldefs.h"
24 #include "gramsm.h"
25 #include "gramtk.h"
26 #include "global.h"
27 #include "symtab.h"
28 #include "semant.h"
29 #include "scan.h"
30 #include "symutl.h"
31 #include "semstk.h"
32 #include "ast.h"
33 #include "rte.h"
34 #include "pd.h"
35
36 /** \brief Semantic actions - part 1.
37 \param rednum reduction number
38 \param top top of stack after reduction
39 */
40 void
psemant1(int rednum,SST * top)41 psemant1(int rednum, SST *top)
42 {
43
44 SST_ASTP(LHS, 0);
45 }
46