File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
package/network/utils/linux-atm/patches Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ --- a/src/lane/load.c
2+ +++ b/src/lane/load.c
3+ @@ -498,8 +498,8 @@ load_vars(const char *file)
4+ break;
5+ case BOOLEAN:
6+ Debug_unit(&load_unit, "Variable is boolean: %s",
7+ - g_return.bool==BL_TRUE?"True":"False");
8+ - set_var_bool(curr_unit, varname, g_return.bool);
9+ + g_return.boolean==BL_TRUE?"True":"False");
10+ + set_var_bool(curr_unit, varname, g_return.boolean);
11+ break;
12+ case INTEGER:
13+ Debug_unit(&load_unit, "Variable is integer: %d", g_return.intti);
14+ --- a/src/lane/load_lex.h
15+ +++ b/src/lane/load_lex.h
16+ @@ -24,7 +24,7 @@
17+ #define END 0
18+
19+ typedef struct {
20+ - Bool_t bool;
21+ + Bool_t boolean;
22+ int intti;
23+ AtmAddr_t *atmaddress;
24+ LaneDestination_t *destaddr;
25+ --- a/src/lane/load_lex.l
26+ +++ b/src/lane/load_lex.l
27+ @@ -44,11 +44,11 @@ H [0-9a-fA-F]
28+ return ATMADDRESS;
29+ }
30+ True |
31+ - true {g_return.bool = BL_TRUE;
32+ + true {g_return.boolean = BL_TRUE;
33+ return BOOLEAN;
34+ }
35+ False |
36+ - false {g_return.bool = BL_FALSE;
37+ + false {g_return.boolean = BL_FALSE;
38+ return BOOLEAN;
39+ }
40+ \#.* {}
You can’t perform that action at this time.
0 commit comments