ref: 694075e840a4c080ed23aa7a02a4ac55d87a7101
parent: e93d65d736a42f8317370b8e091cefafdc4a665b
author: ISSOtm <[email protected]>
date: Thu Oct 10 10:58:17 EDT 2019
Allow nested bracketed symbols Fixes #320
--- a/src/asm/lexer.c
+++ b/src/asm/lexer.c
@@ -666,6 +666,11 @@
i += length;
else
fatalerror("Illegal character escape '%c'", ch);
+ } else if (ch == '{') {
+ /* Handle nested symbols */
+ ++pLexBuffer;
+ i += yylex_ReadBracketedSymbol(sym, i);
+ --pLexBuffer;
} else if (ch == ':' && !mode) { /* Only grab 1st colon */
/* Use a whitelist of modes, which does prevent the
* use of some features such as precision,