aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/bin
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-09-23 09:45:00 +0200
committerAnders Svensson <[email protected]>2013-11-28 17:27:27 +0100
commitda973668bcfee7cba0aa6e0c498fee4aa1b24cce (patch)
treeabe22ac0166ce795a5cf1815670ceb13c6c4c064 /lib/diameter/bin
parenta3fa81eafff105086cf3f0c942c5247686edac28 (diff)
downloadotp-da973668bcfee7cba0aa6e0c498fee4aa1b24cce.tar.gz
otp-da973668bcfee7cba0aa6e0c498fee4aa1b24cce.tar.bz2
otp-da973668bcfee7cba0aa6e0c498fee4aa1b24cce.zip
Make forms a separate output from diameter_codegen
Instead of being output as a consequence of a debug option.
Diffstat (limited to 'lib/diameter/bin')
-rwxr-xr-xlib/diameter/bin/diameterc5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/diameter/bin/diameterc b/lib/diameter/bin/diameterc
index cae2bcedbe..d4dd3153c5 100755
--- a/lib/diameter/bin/diameterc
+++ b/lib/diameter/bin/diameterc
@@ -137,9 +137,8 @@ arg(["-E" | Args], #argv{output = Output} = A) ->
arg(["-H" | Args], #argv{output = Output} = A) ->
arg(Args, A#argv{output = lists:delete(hrl, Output)});
-arg(["-d" | Args], #argv{options = Opts, output = Output} = A) ->
- arg(Args, A#argv{options = [debug | Opts],
- output = [dict | Output]});
+arg(["-d" | Args], #argv{output = Output} = A) ->
+ arg(Args, A#argv{output = [dict, forms | Output]});
arg([[$- = M, C, H | T] | Args], A) %% clustered options
when C /= $i, C /= $o, C /= $- ->