diff options
author | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2010-08-05 10:18:02 +0200 |
---|---|---|
committer | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2010-08-05 10:18:02 +0200 |
commit | a3464e8e24e5c2bf1a824f2e6a581f095e244b7a (patch) | |
tree | 9a4650e5bfe8928b63d7f5d8d4f9a771658d1162 /lib/LXRng/Lang/Kconfig.pm | |
parent | c00b3db2a066779e47945932ede3978dc3a46e32 (diff) |
Fix string termination markup bug.
Diffstat (limited to 'lib/LXRng/Lang/Kconfig.pm')
-rw-r--r-- | lib/LXRng/Lang/Kconfig.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/LXRng/Lang/Kconfig.pm b/lib/LXRng/Lang/Kconfig.pm index 4c8df6c..2bc524a 100644 --- a/lib/LXRng/Lang/Kconfig.pm +++ b/lib/LXRng/Lang/Kconfig.pm @@ -58,8 +58,8 @@ sub reserved { sub parsespec { return ['atom', '\\\\.', undef, 'comment', '#', "\$", - 'string', '"(?:[^\\\\]*\\\\.)*[^\\\\]*"', undef, - 'string', "'(?:[^\\\\]*\\\\.)*[^\\\\]*'", undef, + 'string', '"(?:[^\\\\"]*\\\\.)*[^\\\\"]*"', undef, + 'string', "'(?:[^\\\\']*\\\\.)*[^\\\\']*'", undef, 'help', 'help', "^(?=[^ \t\n])", 'include', '^source\s+"', '"']; } |