summaryrefslogtreecommitdiffhomepage
path: root/mixlib
diff options
context:
space:
mode:
Diffstat (limited to 'mixlib')
-rw-r--r--mixlib/mix_scanner.l8
1 files changed, 7 insertions, 1 deletions
diff --git a/mixlib/mix_scanner.l b/mixlib/mix_scanner.l
index 9071847..0ad1990 100644
--- a/mixlib/mix_scanner.l
+++ b/mixlib/mix_scanner.l
@@ -481,9 +481,15 @@ wexpr {expr}({fpart})?(,{expr}({fpart})?)*
ADD_INS ();
}
}
- {expr}/")" {
+
+ {expr}/")"(({ws}+.*\n)|\n) {
ENTER_EVAL ();
}
+
+ {expr}")".+ {
+ RETURN_ERROR (MIX_PERR_INV_FSPEC, g_strdup_printf ("(%s", yytext));
+ }
+
. RETURN_ERROR (MIX_PERR_INV_FSPEC, yytext);
}