core: use enum to replace multiple define

This commit is contained in:
starnakin 2023-07-26 09:59:46 +02:00
parent 5815adc7d6
commit 9d7d6f7a65

View File

@ -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)
{ {