diff options
author | Anders Svensson <[email protected]> | 2011-10-21 10:43:05 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2011-10-21 10:43:05 +0200 |
commit | 1cc659425002846f4f553add9d027ca620b42a22 (patch) | |
tree | 3ab5bfe885f993a941e1764d5d76be3146ad5e5a /lib/diameter/src/compiler/diameter_codegen.erl | |
parent | af5d050bd1d3595ff82353bec0ece6cd5690ffd9 (diff) | |
parent | a0fb3d0302a18420cb622c9e172ca71ffdaf6a73 (diff) | |
download | otp-1cc659425002846f4f553add9d027ca620b42a22.tar.gz otp-1cc659425002846f4f553add9d027ca620b42a22.tar.bz2 otp-1cc659425002846f4f553add9d027ca620b42a22.zip |
Merge branch 'anders/diameter/dictionaries/OTP-9641'
* anders/diameter/dictionaries/OTP-9641:
Add diameter_make as compilation interface
Update documentation
Don't require -i directory to exist
Allow @inherits to be set/cleared with diameterc
Allow @name/@prefix to be set with diameterc
Dependency fix
Move dictionaries into own directory and rename
Whitespace fixes
@result_code -> @define in dictionary files
Diffstat (limited to 'lib/diameter/src/compiler/diameter_codegen.erl')
-rw-r--r-- | lib/diameter/src/compiler/diameter_codegen.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/src/compiler/diameter_codegen.erl b/lib/diameter/src/compiler/diameter_codegen.erl index a33b07a3d3..0fd4a0b301 100644 --- a/lib/diameter/src/compiler/diameter_codegen.erl +++ b/lib/diameter/src/compiler/diameter_codegen.erl @@ -707,9 +707,9 @@ gen_hrl(Path, Mod, Spec) -> write("ENUM Macros", Fd, m_enums(PREFIX, false, get_value(enums, Spec))), - write("RESULT CODE Macros", + write("DEFINE Macros", Fd, - m_enums(PREFIX, false, get_value(result_codes, Spec))), + m_enums(PREFIX, false, get_value(defines, Spec))), lists:foreach(fun({M,Es}) -> write("ENUM Macros from " ++ atom_to_list(M), |