From 9ad729ec15bc1b13d52aa448647c7d36ccb599c4 Mon Sep 17 00:00:00 2001 From: Giles Atkinson <“gatk555@gmail.com”> Date: Thu, 16 Apr 2026 10:42:04 +0100 Subject: [PATCH] CMPP: also skip over single-quoted strings in code-model source. --- src/xspice/cmpp/mod_lex.l | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xspice/cmpp/mod_lex.l b/src/xspice/cmpp/mod_lex.l index 14b1f9043..7cf0acdb9 100644 --- a/src/xspice/cmpp/mod_lex.l +++ b/src/xspice/cmpp/mod_lex.l @@ -90,6 +90,7 @@ Z [0-9A-Za-z_] } \"(\\.|[^"\\])*\" {return TOK_IDENTIFIER;} /* Literal string. */ +\'(\\.|[^'\\])*\' {return TOK_IDENTIFIER;} ARGS {return TOK_ARGS;} INIT {return TOK_INIT;}