More cleanup
This commit is contained in:
parent
70f44bec12
commit
c3c41f5a36
|
@ -330,6 +330,7 @@ int get_next_state(int state, char c, int *accept)
|
||||||
*accept = as_table[next];
|
*accept = as_table[next];
|
||||||
return next;
|
return next;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Matches the column value in the transition table to the given input character
|
/* Matches the column value in the transition table to the given input character
|
||||||
Author: Victor Fernandes
|
Author: Victor Fernandes
|
||||||
Version: 0.0.1
|
Version: 0.0.1
|
||||||
|
@ -360,14 +361,6 @@ int char_class(char c)
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
HERE YOU WRITE THE DEFINITIONS FOR YOUR ACCEPTING FUNCTIONS.
|
|
||||||
************************************************************
|
|
||||||
|
|
||||||
ACCEPTING FUNCTION FOR THE arithmentic variable identifier AND keywords (VID - AVID/KW)
|
|
||||||
REPLACE XX WITH THE CORRESPONDING ACCEPTING STATE NUMBER
|
|
||||||
*/
|
|
||||||
/* Generates a token for an arithmetic variable identifer or keyword
|
/* Generates a token for an arithmetic variable identifer or keyword
|
||||||
Author: Victor Fernandes
|
Author: Victor Fernandes
|
||||||
Version: 0.0.1
|
Version: 0.0.1
|
||||||
|
|
Loading…
Reference in New Issue