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