summaryrefslogtreecommitdiffhomepage
path: root/mixlib/mix_scanner.l
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2004-06-12 14:40:37 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2004-06-12 14:40:37 +0000
commit10a442350d10ff0ed606fcd573a6f4caf9b47f1a (patch)
tree5d53fca6b088c8091720c5236414b9ecb9d69266 /mixlib/mix_scanner.l
parent8a72ff309a8630429d693ae4aa53c3693bdc93e1 (diff)
downloadmdk-10a442350d10ff0ed606fcd573a6f4caf9b47f1a.tar.gz
mdk-10a442350d10ff0ed606fcd573a6f4caf9b47f1a.tar.bz2
recognition of ALF in listings.
Diffstat (limited to 'mixlib/mix_scanner.l')
-rw-r--r--mixlib/mix_scanner.l12
1 files changed, 6 insertions, 6 deletions
diff --git a/mixlib/mix_scanner.l b/mixlib/mix_scanner.l
index aaa3146..fcd6054 100644
--- a/mixlib/mix_scanner.l
+++ b/mixlib/mix_scanner.l
@@ -64,10 +64,10 @@
NEXT (); \
} while (FALSE)
-#define ADD_RAW(value) \
- do { \
- mix_parser_add_raw (parser, value, lineno); \
- NEXT (); \
+#define ADD_RAW(value,is_con) \
+ do { \
+ mix_parser_add_raw (parser, value, lineno, is_con); \
+ NEXT (); \
} while (FALSE)
@@ -267,7 +267,7 @@ wexpr {expr}({fpart})?(,{expr}({fpart})?)*
value = mix_bytes_to_word (bytes, 5);
- ADD_RAW (value);
+ ADD_RAW (value, FALSE);
}
ALF{ws}+.*\n {
gchar* msg;
@@ -307,7 +307,7 @@ wexpr {expr}({fpart})?(,{expr}({fpart})?)*
{number}{ws}*\n |
{number}{ws}+.*\n {
mix_word_t value = mix_word_new (atol (yytext));
- ADD_RAW (value);
+ ADD_RAW (value, TRUE);
}
}