aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/compiler/diameter_vsn.hrl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-11-16 16:58:34 +0100
committerAnders Svensson <[email protected]>2011-12-02 16:10:27 +0100
commit371ec40cd3bbee34d954a28e5bdf86098e619ed4 (patch)
tree2ad0e12a4d5e61ddf49e589d820679412b522ce7 /lib/diameter/src/compiler/diameter_vsn.hrl
parentca185011269606596814075d4c8f9d13a855866b (diff)
downloadotp-371ec40cd3bbee34d954a28e5bdf86098e619ed4.tar.gz
otp-371ec40cd3bbee34d954a28e5bdf86098e619ed4.tar.bz2
otp-371ec40cd3bbee34d954a28e5bdf86098e619ed4.zip
diameter_spec_util -> diameter_dict_util and adapt to parser
Errors are now detected after the parse with format_error/1 providing understandable error messages, pointing to the offending line number(s) in the dictionary source.
Diffstat (limited to 'lib/diameter/src/compiler/diameter_vsn.hrl')
-rw-r--r--lib/diameter/src/compiler/diameter_vsn.hrl22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/diameter/src/compiler/diameter_vsn.hrl b/lib/diameter/src/compiler/diameter_vsn.hrl
new file mode 100644
index 0000000000..024d047adc
--- /dev/null
+++ b/lib/diameter/src/compiler/diameter_vsn.hrl
@@ -0,0 +1,22 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2010-2011. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%%
+
+%% The version of the format of the return value of dict/0 in
+%% generated dictionary modules.
+-define(VERSION, 1).