From 86e9d51ab0b9ed2c5ccd1cf5f06fa3f3448c8f31 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 14 Apr 2024 17:17:51 +0630 Subject: enum -> enum class in lexer This makes enum elements scoped which is actually quite useful as I prefer the namespacing that enum's give in C++. --- asm/lexer.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'asm/lexer.cpp') diff --git a/asm/lexer.cpp b/asm/lexer.cpp index c0ea978..d6c9883 100644 --- a/asm/lexer.cpp +++ b/asm/lexer.cpp @@ -1,8 +1,9 @@ /* Copyright (C) 2024 Aryadev Chavali - * You may distribute and modify this code under the terms of the GPLv2 - * license. You should have received a copy of the GPLv2 license with - * this file. If not, please write to: aryadev@aryadevchavali.com. + * You may distribute and modify this code under the terms of the + * GPLv2 license. You should have received a copy of the GPLv2 + * license with this file. If not, please write to: + * aryadev@aryadevchavali.com. * Created: 2024-04-14 * Author: Aryadev Chavali -- cgit v1.2.3-13-gbd6f