File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -24,5 +24,7 @@ gh_353_symbol_suggestions.pwn(138) : error 087: unknown state "BEING1" for autom
24
24
gh_353_symbol_suggestions.pwn(138) : error 036: empty statement
25
25
gh_353_symbol_suggestions.pwn(141) : error 087: unknown state "STATE_1" for automaton "automaton_2"; did you mean "automaton_1:STATE_1"?
26
26
gh_353_symbol_suggestions.pwn(141) : error 036: empty statement
27
+ gh_353_symbol_suggestions.pwn(148) : error 017: undefined symbol "test_e017_sug2_var"; state variable out of scope
28
+ gh_353_symbol_suggestions.pwn(153) : error 017: undefined symbol "test_e017_sug2_var"; state variable out of scope
27
29
" " "
28
30
}
Original file line number Diff line number Diff line change @@ -140,3 +140,19 @@ public test_e087()
140
140
// error 087: unknown state "STATE_1" for automaton "automaton_2"; did you mean "automaton_1:STATE_1"?
141
141
state automaton_2: STATE_1;
142
142
}
143
+
144
+ new test_e017_sug2_var < automaton_3: STATE_2> ;
145
+ forward test_e017_sug2 ();
146
+ public test_e017_sug2 ()
147
+ {
148
+ printf (" %d \n " , test_e017_sug2_var); // error 017: undefined symbol "test_e017_sug2_var"; state variable out of scope
149
+ }
150
+ forward test_e017_sug2_func ();
151
+ public test_e017_sug2_func () < automaton_3: STATE_1>
152
+ {
153
+ printf (" %d \n " , test_e017_sug2_var); // error 017: undefined symbol "test_e017_sug2_var"; state variable out of scope
154
+ }
155
+ public test_e017_sug2_func () < automaton_3: STATE_2>
156
+ {
157
+ #pragma unused test_e017_sug2_var
158
+ }
You can’t perform that action at this time.
0 commit comments