core: use enum to replace multiple define
This commit is contained in:
parent
5815adc7d6
commit
9d7d6f7a65
@ -1,6 +1,4 @@
|
||||
define LOCATION_LENGTH = 0;
|
||||
define LOCATION_CURRENT_LINE = 1;
|
||||
define LOCATION_ARRAY = 2;
|
||||
enum LOCATION_LENGTH, LOCATION_CURRENT_LINE, LOCATION_ARRAY;
|
||||
|
||||
parsing(text, cmd_ptr)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user