fix scan.c for ID accept non-alphabet characters and resolve some warning

This commit is contained in:
2025-10-03 16:59:36 +09:00
parent c86334621d
commit cb19f33fef
3 changed files with 3 additions and 4 deletions

View File

@@ -156,7 +156,7 @@ char *copyString(char *s) {
/* Variable indentno is used by printTree to
* store current number of spaces to indent
*/
static indentno = 0;
static int indentno = 0;
/* macros to increase/decrease indentation */
#define INDENT indentno += 2