core: use enum to replace multiple define
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user