After much research and consultation with my classmates, flex seems to be broken and no one can seem figure out why my my number expression matches random characters, that in some cases don't even appear to be in the input file (ie chinese characters). Passes tests 1 to 25.
When testing on Ubuntu lab machines:
I removed dos2unix commands from the test_lexer.sh, the program builds without errors, but the program prints new lines at the top of output histogram files, again neither myself or a variety of class mates can seem to figure out why. Apparently Mirella had the same issue which you helped her fix yesterday but I am struggling to figure out how to fix this.
When working on virtual machine on mac:
After much research and consultation with my classmates, flex seems to be broken and no one can seem figure out why my my number expression matches random characters, that in some cases don't even appear to be in the input file (ie chinese characters). Passes tests 1 to 25.
When testing on Ubuntu lab machines:
I removed dos2unix commands from the test_lexer.sh, the program builds without errors, but the program prints new lines at the top of output histogram files, again neither myself or a variety of class mates can seem to figure out why. Apparently Mirella had the same issue which you helped her fix yesterday but I am struggling to figure out how to fix this.