Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
FortyMcFortface
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Mey
FortyMcFortface
Commits
8a5a2a8a
Commit
8a5a2a8a
authored
8 years ago
by
Johannes Mey
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Parser/minify.sh
+6
-0
6 additions, 0 deletions
Parser/minify.sh
with
6 additions
and
0 deletions
Parser/minify.sh
0 → 100755
+
6
−
0
View file @
8a5a2a8a
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment