#include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> typedef char Status; //函数返回结果 typedef struct _member { char ch; int line; int column; }Data; typedef struct _stack { int size; int memb; Data ptr[]; //数据存储区 }Stack; /* 初始化一个空栈 */ static Stack * Stack_Init(int _size) { Stack *pStack = (Stack *)malloc(sizeof(Stack) + sizeof(Data) * _size); if(pStack == NULL) return NULL; memset(pStack->ptr,'