aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/modules.mk
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-10-16 21:36:37 +0200
committerAnders Svensson <[email protected]>2011-12-02 15:23:52 +0100
commitca185011269606596814075d4c8f9d13a855866b (patch)
treef67a45298ad311b05997c20dd4bf4fd1c3313e38 /lib/diameter/src/modules.mk
parent3cdd095e8de8506881a9856e711a90c9ed723f0a (diff)
downloadotp-ca185011269606596814075d4c8f9d13a855866b.tar.gz
otp-ca185011269606596814075d4c8f9d13a855866b.tar.bz2
otp-ca185011269606596814075d4c8f9d13a855866b.zip
Replace dictionary file parser
The previous parse was very adhoc and simply crashed on any kind of input error, providing no identification of the objectionable input that caused the parse to fail. The new parser is generated from a yecc grammar, making it easier both to understand what it is that's being parsed and to provide useful diagnostics to the user in case of error.
Diffstat (limited to 'lib/diameter/src/modules.mk')
-rw-r--r--lib/diameter/src/modules.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/diameter/src/modules.mk b/lib/diameter/src/modules.mk
index c7cbe598af..6929528a37 100644
--- a/lib/diameter/src/modules.mk
+++ b/lib/diameter/src/modules.mk
@@ -24,6 +24,10 @@ DICTS = \
base_accounting \
relay
+# The yecc grammar for the dictionary parser.
+DICT_YRL = \
+ diameter_dict_parser
+
# Handwritten (runtime) modules included in the app file.
RT_MODULES = \
base/diameter \
@@ -62,7 +66,7 @@ CT_MODULES = \
base/diameter_info \
compiler/diameter_codegen \
compiler/diameter_exprecs \
- compiler/diameter_spec_scan \
+ compiler/diameter_dict_scanner \
compiler/diameter_spec_util \
compiler/diameter_make