程式語言 - High Level Assembly (HLA) - 解決Flex: input rules are too complicated (>= 32000 NFA states)問題



參考資料:
https://stackoverflow.com/questions/32266199/flex-input-rules-are-too-complicated-32000-nfa-states-while-compiling-hla

問題:

flex -8 -i hla.flx
flex: input rules are too complicated (>= 32000 NFA states)
make: *** [makefile:28: lex.yy.o] Error 1

解法(加上-Ca):

flex -Ca -8 -i hla.flx