diff options
Diffstat (limited to 'lib/LXRng/Lang/GnuAsm.pm')
-rw-r--r-- | lib/LXRng/Lang/GnuAsm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/LXRng/Lang/GnuAsm.pm b/lib/LXRng/Lang/GnuAsm.pm index 4ad83d8..a1dcb1b 100644 --- a/lib/LXRng/Lang/GnuAsm.pm +++ b/lib/LXRng/Lang/GnuAsm.pm @@ -95,8 +95,8 @@ sub parsespec { 'atom', '[.][a-z0-9]+', undef, # Directives 'comment', '/\*', '\*/', 'comment', '//', "\$", - 'string', '"(?:[^\\\\]*\\\\.)*[^\\\\]*"', undef, - 'string', "'(?:[^\\\\]*\\\\.)*[^\\\\]*'", undef, + 'string', '"(?:[^\\\\"]*\\\\.)*[^\\\\"]*"', undef, + 'string', "'(?:[^\\\\']*\\\\.)*[^\\\\']*'", undef, 'atom', '#\s*(?:ifn?def|define|else|endif|undef)', undef, 'include', '#\s*include\s+"', '"', 'include', '#\s*include\s+<', '>', |