私は bison プログラムを開発しており、何かを認識できるようにする最後のオプションが必要です。他の場合と同じように...
ありがとう
commands: F{
t[top++] = 'F';
}
|PLUS{
t[top++] = '+';
}
|MINUS{
t[topo++] = '-';
}
|ACOL {
t[top++] = '[';
}
|FCOL{
t[top++] = ']';
}
|POINT{
t[top++] = '.';
}
|EQUAL {
t[top++] = '=';
}
| {
/* generic command should be here
if any of the commands above were found it should run whatever is here*/
}