Skip to content
Snippets Groups Projects
Commit 8a5a2a8a authored by Johannes Mey's avatar Johannes Mey
Browse files

small script to reduce the size of the generated parser to be able to debug it.

parent 6c39fc64
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
cd src-gen/org/tud/forty/parser
sed -r ':a; s%(.*)/\*.*\*/%\1%; ta; /\/\*/ !b; N; ba' SlottableFortranParser.java > sp.tmp
sed '/ \/\/ ==/d' sp.tmp > sp2.tmp
sed '/^$/d' sp2.tmp > SlottableFortranParser.java
rm sp.tmp sp2.tmp
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment